summaryrefslogtreecommitdiff
path: root/java/eclipse/files/patch-features-launchers-library-eclipseShm.c
diff options
context:
space:
mode:
Diffstat (limited to 'java/eclipse/files/patch-features-launchers-library-eclipseShm.c')
-rw-r--r--java/eclipse/files/patch-features-launchers-library-eclipseShm.c17
1 files changed, 17 insertions, 0 deletions
diff --git a/java/eclipse/files/patch-features-launchers-library-eclipseShm.c b/java/eclipse/files/patch-features-launchers-library-eclipseShm.c
new file mode 100644
index 000000000000..f351472d932b
--- /dev/null
+++ b/java/eclipse/files/patch-features-launchers-library-eclipseShm.c
@@ -0,0 +1,17 @@
+--- features/org.eclipse.platform.launchers/library/eclipseShm.c.orig Fri Apr 1 13:55:58 2005
++++ features/org.eclipse.platform.launchers/library/eclipseShm.c Sun Apr 3 11:34:02 2005
+@@ -182,11 +182,13 @@
+
+ #else /* Unix like platforms */
+
++#include <machine/param.h>
++#include <sys/types.h>
++#include <sys/ipc.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) {