summaryrefslogtreecommitdiff
path: root/multimedia/naludump/files/patch-tools.c
diff options
context:
space:
mode:
Diffstat (limited to 'multimedia/naludump/files/patch-tools.c')
-rw-r--r--multimedia/naludump/files/patch-tools.c15
1 files changed, 15 insertions, 0 deletions
diff --git a/multimedia/naludump/files/patch-tools.c b/multimedia/naludump/files/patch-tools.c
new file mode 100644
index 000000000000..9463db9c9442
--- /dev/null
+++ b/multimedia/naludump/files/patch-tools.c
@@ -0,0 +1,15 @@
+--- a/tools.c
++++ b/tools.c
+@@ -14,7 +14,12 @@
+ #include <stdarg.h>
+ #include <stdlib.h>
+ #include <sys/time.h>
++#ifdef __FreeBSD__
++#include <sys/param.h>
++#include <sys/mount.h>
++#else
+ #include <sys/vfs.h>
++#endif
+ #include <time.h>
+ #include <unistd.h>
+ #include <utime.h>