]> err.no Git - util-linux/commitdiff
disk-utils: include fcntl.h directly (mkfs.cramfs, raw)
authormaximilian attems <max@stro.at>
Thu, 24 Jul 2008 13:08:16 +0000 (15:08 +0200)
committerKarel Zak <kzak@redhat.com>
Mon, 28 Jul 2008 09:09:14 +0000 (11:09 +0200)
helps klibc support, glibc compile tested.

Signed-off-by: maximilian attems <max@stro.at>
disk-utils/mkfs.cramfs.c
disk-utils/raw.c

index 8f3feb6e64d99cecef2443a165cbe28b83903922..04d8ab8ec02aa24a27a39ce2ff0b3f154660c5fe 100644 (file)
@@ -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>
index fa9e55b87a97c562a460f861aa01734f9d0ff1af..9423f9e6a3941bcc00aab641f9dde257f0162842 100644 (file)
@@ -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>