diff options
Diffstat (limited to 'disk-utils')
-rw-r--r-- | disk-utils/fsck.cramfs.c | 2 | ||||
-rw-r--r-- | disk-utils/raw.c | 2 |
2 files changed, 4 insertions, 0 deletions
diff --git a/disk-utils/fsck.cramfs.c b/disk-utils/fsck.cramfs.c index d5d379086..d3088a5ab 100644 --- a/disk-utils/fsck.cramfs.c +++ b/disk-utils/fsck.cramfs.c @@ -49,7 +49,9 @@ #include <sys/types.h> #include <sys/stat.h> #include <sys/mman.h> +#ifdef HAVE_SYS_SYSMACROS_H #include <sys/sysmacros.h> /* for major, minor */ +#endif #include "cramfs.h" #include "nls.h" diff --git a/disk-utils/raw.c b/disk-utils/raw.c index d29ff1ba3..6c4b6de8e 100644 --- a/disk-utils/raw.c +++ b/disk-utils/raw.c @@ -20,7 +20,9 @@ #include <string.h> #include <sys/ioctl.h> #include <sys/stat.h> +#ifdef HAVE_SYS_SYSMACROS_H #include <sys/sysmacros.h> +#endif #include <unistd.h> #include "c.h" |