summaryrefslogtreecommitdiff
path: root/src/i18n.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/i18n.cc')
-rw-r--r--src/i18n.cc10
1 files changed, 8 insertions, 2 deletions
diff --git a/src/i18n.cc b/src/i18n.cc
index 18b77209..5fddea57 100644
--- a/src/i18n.cc
+++ b/src/i18n.cc
@@ -34,11 +34,17 @@
#include <X11/Xlocale.h>
-#ifdef STDC_HEADERS
+#ifdef HAVE_STDLIB_H
# include <stdlib.h>
+#endif // HAVE_STDLIB_H
+
+#ifdef HAVE_STRING_H
# include <string.h>
+#endif // HAVE_STRING_H
+
+#ifdef HAVE_STDIO_H
# include <stdio.h>
-#endif // STDC_HEADERS
+#endif // HAVE_STDIO_H
#ifdef HAVE_LOCALE_H
# include <locale.h>