termux-packages/packages/monetdb/gdk-gdk_interprocess.c.patch

15 lines
274 B
Diff

--- a/gdk/gdk_interprocess.c
+++ b/gdk/gdk_interprocess.c
@@ -19,7 +19,11 @@
#include <sys/types.h>
#include <sys/ipc.h>
+#ifndef __ANDROID__
#include <sys/shm.h>
+#else
+#include <linux/shm.h>
+#endif
#include <sys/wait.h>
#include <unistd.h>
#include <sys/mman.h>