--- 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 #include +#endif +#ifdef __FreeBSD__ +#include +#endif #include #include #include