forked from pool/squashfs
Dirk Mueller
23734b97f0
- sysmacros.patch: Include <sys/sysmacros.h> for major/minor/makedev OBS-URL: https://build.opensuse.org/request/show/626934 OBS-URL: https://build.opensuse.org/package/show/filesystems/squashfs?expand=0&rev=32
25 lines
762 B
Diff
25 lines
762 B
Diff
Index: squashfs4.3/squashfs-tools/mksquashfs.c
|
|
===================================================================
|
|
--- squashfs4.3.orig/squashfs-tools/mksquashfs.c
|
|
+++ squashfs4.3/squashfs-tools/mksquashfs.c
|
|
@@ -43,6 +43,7 @@
|
|
#include <signal.h>
|
|
#include <setjmp.h>
|
|
#include <sys/types.h>
|
|
+#include <sys/sysmacros.h>
|
|
#include <sys/mman.h>
|
|
#include <pthread.h>
|
|
#include <regex.h>
|
|
Index: squashfs4.3/squashfs-tools/unsquashfs.c
|
|
===================================================================
|
|
--- squashfs4.3.orig/squashfs-tools/unsquashfs.c
|
|
+++ squashfs4.3/squashfs-tools/unsquashfs.c
|
|
@@ -33,6 +33,7 @@
|
|
|
|
#include <sys/sysinfo.h>
|
|
#include <sys/types.h>
|
|
+#include <sys/sysmacros.h>
|
|
#include <sys/time.h>
|
|
#include <sys/resource.h>
|
|
#include <limits.h>
|