aboutsummaryrefslogtreecommitdiffstats
path: root/main/pspg/fix-musl.patch
diff options
context:
space:
mode:
Diffstat (limited to 'main/pspg/fix-musl.patch')
-rw-r--r--main/pspg/fix-musl.patch14
1 files changed, 14 insertions, 0 deletions
diff --git a/main/pspg/fix-musl.patch b/main/pspg/fix-musl.patch
new file mode 100644
index 0000000000..b7d889d67b
--- /dev/null
+++ b/main/pspg/fix-musl.patch
@@ -0,0 +1,14 @@
+diff --git a/src/unicode.c b/src/unicode.c
+index 4dbfa6b..3bbf70f 100644
+--- a/src/unicode.c
++++ b/src/unicode.c
+@@ -11,6 +11,8 @@
+ *-------------------------------------------------------------------------
+ */
+
++#define _GNU_SOURCE 1
++#include <sys/types.h>
+ #include <stdbool.h>
+
+ #include "unicode.h"
+