summaryrefslogtreecommitdiffstats
path: root/java/eclipse/files/patch-update.c
diff options
context:
space:
mode:
Diffstat (limited to 'java/eclipse/files/patch-update.c')
-rw-r--r--java/eclipse/files/patch-update.c17
1 files changed, 17 insertions, 0 deletions
diff --git a/java/eclipse/files/patch-update.c b/java/eclipse/files/patch-update.c
new file mode 100644
index 0000000..83b2047
--- /dev/null
+++ b/java/eclipse/files/patch-update.c
@@ -0,0 +1,17 @@
+--- plugins/org.eclipse.update.core.linux/src/update.c.orig Sun Jun 13 22:47:30 2004
++++ plugins/org.eclipse.update.core.linux/src/update.c Sun Jun 13 22:48:22 2004
+@@ -10,8 +10,14 @@
+ *******************************************************************************/
+
+ # include <sys/types.h>
++#ifdef __FreeBSD__
++# include <sys/param.h>
++# include <sys/mount.h>
++# include "update.h"
++#else
+ # include <sys/statfs.h>
+ # include <update.h>
++#endif
+
+ /*
+ * Class: org_eclipse_update_configuration_LocalSystemInfo
OpenPOWER on IntegriCloud