aboutsummaryrefslogtreecommitdiff
path: root/src/parse.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/parse.c')
-rw-r--r--src/parse.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/parse.c b/src/parse.c
index b7124c5d..71bd49fd 100644
--- a/src/parse.c
+++ b/src/parse.c
@@ -6,7 +6,15 @@
#include <stdarg.h>
#include <stdbool.h>
#include <string.h>
+
+#ifndef __GLIBC__
+#define __GLIBC__ 2
+#include <unistr.h>
+#undef __GLIBC__
+#else
#include <unistr.h>
+#endif
+
#include <unictype.h>
#include <uniname.h>
#include <signal.h>