aboutsummaryrefslogtreecommitdiffhomepage
path: root/translate.c
diff options
context:
space:
mode:
authorGravatar axel <axel@liljencrantz.se>2006-01-19 04:37:58 +1000
committerGravatar axel <axel@liljencrantz.se>2006-01-19 04:37:58 +1000
commit619f076958527e682130ec6602f8c73d666a3894 (patch)
tree2d6d735aae5ea8246b9055dd417849014d5c8939 /translate.c
parent588bc1103ab7744ccab61f1d42e299718ba305a9 (diff)
Don't include intl headers in translate.h if we're not going to use gettext
darcs-hash:20060118183758-ac50b-ae3aef1154a9be6e39e154ad420d0881e7f86c85.gz
Diffstat (limited to 'translate.c')
-rw-r--r--translate.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/translate.c b/translate.c
index ec98e0b4..5e4c9df1 100644
--- a/translate.c
+++ b/translate.c
@@ -8,7 +8,12 @@ Translation library, internally uses catgets
#include <stdio.h>
#include <stdlib.h>
+#include <unistd.h>
+#include <wchar.h>
+
+#if HAVE_LIBINTL_H
#include <libintl.h>
+#endif
#include "common.h"
#include "util.h"