summaryrefslogtreecommitdiff
path: root/camlibs/digita
diff options
context:
space:
mode:
authorMarcus Meissner <marcus@jet.franken.de>2001-11-03 14:30:21 +0000
committerMarcus Meissner <marcus@jet.franken.de>2001-11-03 14:30:21 +0000
commitb22b1ab1510a9e9cc589bf6e809db7b297cf69b1 (patch)
treeaa6628dbb2ddce4f205b4bf2d2851064bc6684fb /camlibs/digita
parentcee9badffcd98ce52e7fb0cde664156c70fccbfe (diff)
downloadlibgphoto2-b22b1ab1510a9e9cc589bf6e809db7b297cf69b1.tar.gz
If we check for 'ENABLE_NLS', we need to include <config.h>.
Fix 'redefinition of _' compile warnings due to broken copy & pasted macro in the camlibs. git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@2892 67ed7778-7388-44ab-90cf-0a291f65f57c
Diffstat (limited to 'camlibs/digita')
-rw-r--r--camlibs/digita/digita.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/camlibs/digita/digita.c b/camlibs/digita/digita.c
index 47649158c..874b745c0 100644
--- a/camlibs/digita/digita.c
+++ b/camlibs/digita/digita.c
@@ -19,6 +19,8 @@
* Boston, MA 02111-1307, USA.
*/
+#include <config.h>
+
#include <stdlib.h>
#include <stdio.h>
#include <errno.h>
@@ -39,7 +41,6 @@
# ifdef gettext_noop
# define N_(String) gettext_noop (String)
# else
-# define _(String) (String)
# define N_(String) (String)
# endif
#else