summaryrefslogtreecommitdiff
path: root/lang/jamvm/patches/010-musl.patch
diff options
context:
space:
mode:
Diffstat (limited to 'lang/jamvm/patches/010-musl.patch')
-rw-r--r--lang/jamvm/patches/010-musl.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/lang/jamvm/patches/010-musl.patch b/lang/jamvm/patches/010-musl.patch
new file mode 100644
index 000000000..337012f41
--- /dev/null
+++ b/lang/jamvm/patches/010-musl.patch
@@ -0,0 +1,12 @@
+--- a/src/os/linux/os.c
++++ b/src/os/linux/os.c
+@@ -26,6 +26,9 @@
+ #include <sys/sysinfo.h>
+
+ #define __USE_GNU
++#ifndef _GNU_SOURCE
++#define _GNU_SOURCE
++#endif
+ #include <dlfcn.h>
+ #include <pthread.h>
+