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