summaryrefslogtreecommitdiff
path: root/user/marco/correctly-posix.patch
diff options
context:
space:
mode:
Diffstat (limited to 'user/marco/correctly-posix.patch')
-rw-r--r--user/marco/correctly-posix.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/user/marco/correctly-posix.patch b/user/marco/correctly-posix.patch
new file mode 100644
index 000000000..e2ad5fa18
--- /dev/null
+++ b/user/marco/correctly-posix.patch
@@ -0,0 +1,12 @@
+diff -Nurd marco-1.22.0/src/ui/theme.c marco-1.22.0.new/src/ui/theme.c
+--- marco-1.22.0/src/ui/theme.c 2019-02-08 08:51:33.000000000 -0600
++++ marco-1.22.0.new/src/ui/theme.c 2019-03-23 06:00:16.139892136 -0500
+@@ -60,7 +60,7 @@
+ #include <gtk/gtk.h>
+ #include <string.h>
+ #include <stdlib.h>
+-#define __USE_XOPEN
++#define _XOPEN_SOURCE
+ #include <math.h>
+
+ #define GDK_COLOR_RGBA(color) \