1
0

180-openbsd_compat.patch 538 B

123456789101112131415161718192021222324
  1. --- a/squashfs-tools/mksquashfs.c
  2. +++ b/squashfs-tools/mksquashfs.c
  3. @@ -32,6 +32,9 @@
  4. #include <stdio.h>
  5. #include <stddef.h>
  6. #include <sys/time.h>
  7. +#if defined(__OpenBSD__)
  8. +#include <sys/param.h>
  9. +#endif
  10. #include <sys/types.h>
  11. #include <sys/stat.h>
  12. #include <fcntl.h>
  13. --- a/squashfs-tools/unsquashfs.h
  14. +++ b/squashfs-tools/unsquashfs.h
  15. @@ -25,6 +25,9 @@
  16. #define TRUE 1
  17. #define FALSE 0
  18. #include <stdio.h>
  19. +#if defined(__OpenBSD__)
  20. +#include <sys/param.h>
  21. +#endif
  22. #include <sys/types.h>
  23. #include <unistd.h>
  24. #include <stdlib.h>