--- a/mksquashfs.c +++ b/mksquashfs.c @@ -47,6 +47,7 @@ #include #include #include +#include /* makedev */ #ifndef linux #define __BYTE_ORDER BYTE_ORDER --- a/unsquashfs.c +++ b/unsquashfs.c @@ -47,6 +47,7 @@ #include #include #include +#include /* makedev */ #ifndef linux #define __BYTE_ORDER BYTE_ORDER