summaryrefslogtreecommitdiff
path: root/src/common/utf8.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/common/utf8.c')
-rw-r--r--src/common/utf8.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/common/utf8.c b/src/common/utf8.c
index 9379082e4..d1cfbd927 100644
--- a/src/common/utf8.c
+++ b/src/common/utf8.c
@@ -26,7 +26,10 @@
#include <stdlib.h>
#include <string.h>
+
+#ifndef __USE_XOPEN
#define __USE_XOPEN
+#endif
#if defined(__OpenBSD__)
#include <utf8/wchar.h>