ports/java/eclipse-devel/files/patch-features-launchers-library-eclipseShm.c
Norikatsu Shigemura 0bc453c3e6 Add eclipse-devel 3.1M6, an open extensible IDE for anything and nothing
in particular.

PR:		ports/79917
Submitted by:	various members of freebsd-java
2005-05-07 05:00:40 +00:00

17 lines
476 B
C

--- features/org.eclipse.launchers/library/eclipseShm.c.orig Fri Apr 1 13:55:58 2005
+++ features/org.eclipse.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) {