diff options
author | maximilian attems | 2008-07-24 15:08:16 +0200 |
---|---|---|
committer | Karel Zak | 2008-07-28 11:09:14 +0200 |
commit | d5c28ebc32697ca6461990cee69fd47a56b3a730 (patch) | |
tree | 9fafb0afc7710097f165c305bf928e7013a0c54c /disk-utils | |
parent | whereis: include dirent.h instead sys/dir.h (diff) | |
download | kernel-qcow2-util-linux-d5c28ebc32697ca6461990cee69fd47a56b3a730.tar.gz kernel-qcow2-util-linux-d5c28ebc32697ca6461990cee69fd47a56b3a730.tar.xz kernel-qcow2-util-linux-d5c28ebc32697ca6461990cee69fd47a56b3a730.zip |
disk-utils: include fcntl.h directly (mkfs.cramfs, raw)
helps klibc support, glibc compile tested.
Signed-off-by: maximilian attems <max@stro.at>
Diffstat (limited to 'disk-utils')
-rw-r--r-- | disk-utils/mkfs.cramfs.c | 2 | ||||
-rw-r--r-- | disk-utils/raw.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/disk-utils/mkfs.cramfs.c b/disk-utils/mkfs.cramfs.c index 8f3feb6e6..04d8ab8ec 100644 --- a/disk-utils/mkfs.cramfs.c +++ b/disk-utils/mkfs.cramfs.c @@ -28,7 +28,7 @@ #include <sys/stat.h> #include <unistd.h> #include <sys/mman.h> -#include <sys/fcntl.h> +#include <fcntl.h> #include <dirent.h> #include <stdlib.h> #include <errno.h> diff --git a/disk-utils/raw.c b/disk-utils/raw.c index fa9e55b87..9423f9e6a 100644 --- a/disk-utils/raw.c +++ b/disk-utils/raw.c @@ -15,7 +15,7 @@ #include <unistd.h> #include <errno.h> #include <string.h> -#include <sys/fcntl.h> +#include <fcntl.h> #include <sys/stat.h> #include <sys/ioctl.h> #include <sys/sysmacros.h> |