blob: 6c0edc4e515d4369dbfa78eab1e79e32985a8e63 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
--- unsquashfs.c.orig 2019-08-29 01:58:04 UTC
+++ unsquashfs.c
@@ -32,8 +32,13 @@
#include "stdarg.h"
#include "fnmatch_compat.h"
+#ifdef __linux__
#include <sys/sysinfo.h>
#include <sys/sysmacros.h>
+#endif
+#ifdef __FreeBSD__
+#include <sys/sysctl.h>
+#endif
#include <sys/types.h>
#include <sys/time.h>
#include <sys/resource.h>
|