summaryrefslogtreecommitdiff
path: root/java/eclipse-devel/files/patch-plugins-update-src-update.c
blob: 532fbdb5758e8178c1207a031cd608c5cb80cd96 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
--- plugins/org.eclipse.update.core.linux/src/update.c.orig	Thu Sep 16 08:48:27 2004
+++ plugins/org.eclipse.update.core.linux/src/update.c	Fri Feb 18 20:27:34 2005
@@ -10,8 +10,15 @@
  *******************************************************************************/
 
 # include <sys/types.h>
+#ifdef __FreeBSD__
+# include <stdlib.h>
+# 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