blob: da9d6bed456f207dd71e0aa9fc84a123eda62f1f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
--- a/mksquashfs.c
+++ b/mksquashfs.c
@@ -47,6 +47,7 @@
#include <math.h>
#include <regex.h>
#include <fnmatch.h>
+#include <sys/sysmacros.h> /* makedev */
#ifndef linux
#define __BYTE_ORDER BYTE_ORDER
--- a/unsquashfs.c
+++ b/unsquashfs.c
@@ -47,6 +47,7 @@
#include <math.h>
#include <sys/ioctl.h>
#include <sys/time.h>
+#include <sys/sysmacros.h> /* makedev */
#ifndef linux
#define __BYTE_ORDER BYTE_ORDER
|