summaryrefslogtreecommitdiff
path: root/java/eclipse/files/patch-plugins-update-src-update.c
diff options
context:
space:
mode:
Diffstat (limited to 'java/eclipse/files/patch-plugins-update-src-update.c')
-rw-r--r--java/eclipse/files/patch-plugins-update-src-update.c15
1 files changed, 15 insertions, 0 deletions
diff --git a/java/eclipse/files/patch-plugins-update-src-update.c b/java/eclipse/files/patch-plugins-update-src-update.c
new file mode 100644
index 000000000000..6d3991ec7358
--- /dev/null
+++ b/java/eclipse/files/patch-plugins-update-src-update.c
@@ -0,0 +1,15 @@
+--- plugins/org.eclipse.update.core.linux/src/update.c.orig Fri May 13 11:37:58 2005
++++ plugins/org.eclipse.update.core.linux/src/update.c Sat May 14 19:01:31 2005
+@@ -12,7 +12,12 @@
+ /* bug 82520 : need to include stdlib.h */
+ # include <stdlib.h>
+ # include <sys/types.h>
++#ifdef __FreeBSD__
++# include <sys/param.h>
++# include <sys/mount.h>
++#else
+ # include <sys/statfs.h>
++#endif
+ # include <update.h>
+
+ /*