2015-12-11 19:21:43 +00:00
|
|
|
--- a/squashfs-tools/mksquashfs.c
|
|
|
|
+++ b/squashfs-tools/mksquashfs.c
|
2013-03-07 17:32:29 +00:00
|
|
|
@@ -32,6 +32,9 @@
|
|
|
|
#include <stdio.h>
|
|
|
|
#include <stddef.h>
|
|
|
|
#include <sys/time.h>
|
|
|
|
+#if defined(__OpenBSD__)
|
|
|
|
+#include <sys/param.h>
|
|
|
|
+#endif
|
|
|
|
#include <sys/types.h>
|
2017-10-23 12:48:19 +00:00
|
|
|
#include <sys/sysmacros.h>
|
2013-03-07 17:32:29 +00:00
|
|
|
#include <sys/stat.h>
|
2015-12-11 19:21:43 +00:00
|
|
|
--- a/squashfs-tools/unsquashfs.h
|
|
|
|
+++ b/squashfs-tools/unsquashfs.h
|
2013-03-07 17:32:29 +00:00
|
|
|
@@ -25,6 +25,9 @@
|
|
|
|
#define TRUE 1
|
|
|
|
#define FALSE 0
|
|
|
|
#include <stdio.h>
|
|
|
|
+#if defined(__OpenBSD__)
|
|
|
|
+#include <sys/param.h>
|
|
|
|
+#endif
|
|
|
|
#include <sys/types.h>
|
|
|
|
#include <unistd.h>
|
|
|
|
#include <stdlib.h>
|