summaryrefslogtreecommitdiffstats
path: root/gf-error-codes.h.template
diff options
context:
space:
mode:
Diffstat (limited to 'gf-error-codes.h.template')
-rw-r--r--gf-error-codes.h.template3
1 files changed, 2 insertions, 1 deletions
diff --git a/gf-error-codes.h.template b/gf-error-codes.h.template
index ab6020d..5ca64fd 100644
--- a/gf-error-codes.h.template
+++ b/gf-error-codes.h.template
@@ -9,10 +9,11 @@
#ifndef _GF_ERROR_CODES_H
#define _GF_ERROR_CODES_H
+#ifdef HAVE_LIBINTL_H
#include <libintl.h>
#define _(STRING) gettext(STRING)
-
+#endif
/** START: ERROR CODE DEFINITIONS **/
$DEFINES