summaryrefslogtreecommitdiff
path: root/java/eclipse/files/patch-features-plat-library-eclipseShm.c
diff options
context:
space:
mode:
Diffstat (limited to 'java/eclipse/files/patch-features-plat-library-eclipseShm.c')
-rw-r--r--java/eclipse/files/patch-features-plat-library-eclipseShm.c17
1 files changed, 17 insertions, 0 deletions
diff --git a/java/eclipse/files/patch-features-plat-library-eclipseShm.c b/java/eclipse/files/patch-features-plat-library-eclipseShm.c
new file mode 100644
index 000000000000..5c1d998a0741
--- /dev/null
+++ b/java/eclipse/files/patch-features-plat-library-eclipseShm.c
@@ -0,0 +1,17 @@
+--- features/org.eclipse.platform.launchers/library/eclipseShm.c.orig Wed Aug 2 11:32:25 2006
++++ features/org.eclipse.platform.launchers/library/eclipseShm.c Wed Aug 2 11:33:30 2006
+@@ -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) {