blob: c3da83377b9760137edf868b164031cc6d6d2a4a (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
--- unsquashfs.c.orig 2014-05-12 22:18:35 UTC
+++ unsquashfs.c
@@ -31,7 +31,14 @@
#include "unsquashfs_info.h"
#include "stdarg.h"
+#ifdef __linux__
#include <sys/sysinfo.h>
+#endif
+
+#ifdef __FreeBSD__
+#include <sys/sysctl.h>
+#endif
+
#include <sys/types.h>
#include <sys/time.h>
#include <sys/resource.h>
|