summaryrefslogtreecommitdiff
path: root/java/eclipse/files/patch-eclipseShm
diff options
context:
space:
mode:
Diffstat (limited to 'java/eclipse/files/patch-eclipseShm')
-rw-r--r--java/eclipse/files/patch-eclipseShm15
1 files changed, 15 insertions, 0 deletions
diff --git a/java/eclipse/files/patch-eclipseShm b/java/eclipse/files/patch-eclipseShm
new file mode 100644
index 000000000000..901f8d787326
--- /dev/null
+++ b/java/eclipse/files/patch-eclipseShm
@@ -0,0 +1,15 @@
+--- plugins/platform-launcher/library/eclipseShm.c.orig Wed Apr 21 03:55:49 2004
++++ plugins/platform-launcher/library/eclipseShm.c Wed Apr 21 03:55:57 2004
+@@ -178,11 +178,11 @@
+
+ #else /* Unix like platforms */
+
++#include <sys/types.h>
+ #include <sys/shm.h>
+ #include <string.h>
+ #include <stdlib.h>
+ #include <stdio.h>
+-#include <sys/types.h>
+ #include <unistd.h>
+
+ int createSharedData(char** id, int size) {