aboutsummaryrefslogtreecommitdiff
path: root/src/parse.c
diff options
context:
space:
mode:
authorBruce Hill <bruce@bruce-hill.com>2025-03-28 15:03:07 -0400
committerBruce Hill <bruce@bruce-hill.com>2025-03-28 15:03:07 -0400
commita259384b6b07b3b8928ea94e2546eaa0570f29aa (patch)
treec3597bc5afdb308908dcdb4eef4a7a5cefc67741 /src/parse.c
parent0519a71688b6bc026847d5ed47274d1fcc5c391b (diff)
Remove uppercase octal
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>