forked from Lainports/opnsense-ports
Taken from: https://github.com/freebsd/freebsd-ports.git Commit id: 5070672073b68be364139bc6b3a89100bd17d331
14 lines
274 B
C
14 lines
274 B
C
--- agent/lib/port.c.orig 2013-03-09 18:29:25.828440497 +0900
|
|
+++ agent/lib/port.c 2013-03-09 18:30:03.711650531 +0900
|
|
@@ -8,7 +8,11 @@
|
|
|
|
#ifndef WIN32
|
|
|
|
+#if defined(__FreeBSD__)
|
|
+#include <sys/mount.h>
|
|
+#else
|
|
#include <sys/statfs.h>
|
|
+#endif
|
|
#include <unistd.h>
|
|
|
|
bool
|