aboutsummaryrefslogtreecommitdiffstats
path: root/camel/camel-lock-helper.c
diff options
context:
space:
mode:
Diffstat (limited to 'camel/camel-lock-helper.c')
-rw-r--r--camel/camel-lock-helper.c13
1 files changed, 9 insertions, 4 deletions
diff --git a/camel/camel-lock-helper.c b/camel/camel-lock-helper.c
index 9e5dc012a3..b496fa888f 100644
--- a/camel/camel-lock-helper.c
+++ b/camel/camel-lock-helper.c
@@ -116,14 +116,19 @@ camel_exception_clear (CamelException *exception)
;
}
-char *gettext (const char *msgid);
-
-char *
-gettext (const char *msgid)
+/* dummy functions so we can link with camel-lock.c */
+char *gettext(const char *msgid);
+char *gettext(const char *msgid)
{
return NULL;
}
+const char *g_strerror(int err);
+const char *g_strerror(int err)
+{
+ return "";
+}
+
static int lock_path(const char *path, guint32 *lockid)
{
struct _lock_info *info = NULL;