diff options
author | Denys Vlasenko <vda.linux@googlemail.com> | 2009-07-08 02:58:38 +0200 |
---|---|---|
committer | Denys Vlasenko <vda.linux@googlemail.com> | 2009-07-08 02:58:38 +0200 |
commit | da49f5852481adb0b3fa0b5ccba93b266f271c35 (patch) | |
tree | 3ab27dafe02a3723658ab2649e8b3ea28b024ac5 /util-linux/mkfs_vfat.c | |
parent | 95cc814dbd37a4cb5a69b5eac80bd3e5173fe908 (diff) | |
download | busybox-w32-da49f5852481adb0b3fa0b5ccba93b266f271c35.tar.gz busybox-w32-da49f5852481adb0b3fa0b5ccba93b266f271c35.tar.bz2 busybox-w32-da49f5852481adb0b3fa0b5ccba93b266f271c35.zip |
move libc related stuff out of platform.h
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'util-linux/mkfs_vfat.c')
-rw-r--r-- | util-linux/mkfs_vfat.c | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/util-linux/mkfs_vfat.c b/util-linux/mkfs_vfat.c index 8c6078d7b..8d12babdc 100644 --- a/util-linux/mkfs_vfat.c +++ b/util-linux/mkfs_vfat.c | |||
@@ -7,12 +7,15 @@ | |||
7 | * | 7 | * |
8 | * Licensed under GPLv2, see file LICENSE in this tarball for details. | 8 | * Licensed under GPLv2, see file LICENSE in this tarball for details. |
9 | */ | 9 | */ |
10 | #include "libbb.h" | ||
11 | #include "volume_id/volume_id_internal.h" | ||
12 | |||
13 | #include <linux/hdreg.h> /* HDIO_GETGEO */ | 10 | #include <linux/hdreg.h> /* HDIO_GETGEO */ |
14 | #include <linux/fd.h> /* FDGETPRM */ | 11 | #include <linux/fd.h> /* FDGETPRM */ |
12 | #include <sys/mount.h> /* BLKSSZGET */ | ||
13 | #if !defined(BLKSSZGET) | ||
14 | # define BLKSSZGET _IO(0x12, 104) | ||
15 | #endif | ||
15 | //#include <linux/msdos_fs.h> | 16 | //#include <linux/msdos_fs.h> |
17 | #include "libbb.h" | ||
18 | #include "volume_id/volume_id_internal.h" | ||
16 | 19 | ||
17 | #define SECTOR_SIZE 512 | 20 | #define SECTOR_SIZE 512 |
18 | 21 | ||