summaryrefslogtreecommitdiff
path: root/camlibs/topfield/puppy.c
diff options
context:
space:
mode:
Diffstat (limited to 'camlibs/topfield/puppy.c')
-rw-r--r--camlibs/topfield/puppy.c24
1 files changed, 6 insertions, 18 deletions
diff --git a/camlibs/topfield/puppy.c b/camlibs/topfield/puppy.c
index 2b3784ba1..28bfe4783 100644
--- a/camlibs/topfield/puppy.c
+++ b/camlibs/topfield/puppy.c
@@ -27,24 +27,6 @@
#include <string.h>
-#include <gphoto2/gphoto2-library.h>
-#include <gphoto2/gphoto2-result.h>
-#include <gphoto2/gphoto2-setting.h>
-
-#ifdef ENABLE_NLS
-# include <libintl.h>
-# undef _
-# define _(String) dgettext (GETTEXT_PACKAGE, String)
-# ifdef gettext_noop
-# define N_(String) gettext_noop (String)
-# else
-# define N_(String) (String)
-# endif
-#else
-# define _(String) (String)
-# define N_(String) (String)
-#endif
-
#include <errno.h>
#include <stdio.h>
#include <stdlib.h>
@@ -60,6 +42,12 @@
# include <langinfo.h>
#endif
+#include <gphoto2/gphoto2-library.h>
+#include <gphoto2/gphoto2-result.h>
+#include <gphoto2/gphoto2-setting.h>
+
+#include "libgphoto2/i18n.h"
+
#include "usb_io.h"
#include "tf_bytes.h"