summaryrefslogtreecommitdiff
path: root/share
diff options
context:
space:
mode:
authorrbuj <[email protected]>2020-12-31 18:58:03 +0100
committerraveit65 <[email protected]>2021-01-28 21:14:30 +0100
commitd9f4cc876d523560f97156ceda1905ee34ffdaae (patch)
tree6e05dff31883a7272de155b26f4d8d2524ac4ccc /share
parentc6dba2ce2ec09f2c6202fd1a22f1b5ae89532f50 (diff)
downloadcaja-extensions-d9f4cc876d523560f97156ceda1905ee34ffdaae.tar.bz2
caja-extensions-d9f4cc876d523560f97156ceda1905ee34ffdaae.tar.xz
Include i18n header after defining GETTEXT_PACKAGE macro
Diffstat (limited to 'share')
-rw-r--r--share/caja-share.c4
-rw-r--r--share/shares.c7
2 files changed, 8 insertions, 3 deletions
diff --git a/share/caja-share.c b/share/caja-share.c
index e66fc3f..0f69921 100644
--- a/share/caja-share.c
+++ b/share/caja-share.c
@@ -23,6 +23,8 @@
#include <config.h>
#endif
+#include <glib/gi18n-lib.h>
+
#include <libcaja-extension/caja-extension-types.h>
#include <libcaja-extension/caja-column-provider.h>
#include <libcaja-extension/caja-extension-types.h>
@@ -33,8 +35,6 @@
#include "caja-share.h"
-#include <glib/gi18n-lib.h>
-
#include <gio/gio.h>
#include <gtk/gtk.h>
diff --git a/share/shares.c b/share/shares.c
index 927de49..b628321 100644
--- a/share/shares.c
+++ b/share/shares.c
@@ -1,9 +1,14 @@
+#ifdef HAVE_CONFIG_H
#include <config.h>
+#endif
+
+#include <glib/gi18n-lib.h>
+
#include <string.h>
#include <time.h>
#include <sys/types.h>
#include <sys/wait.h>
-#include <glib/gi18n-lib.h>
+
#include "shares.h"
#undef DEBUG_SHARES