From da49f5852481adb0b3fa0b5ccba93b266f271c35 Mon Sep 17 00:00:00 2001 From: Denys Vlasenko Date: Wed, 8 Jul 2009 02:58:38 +0200 Subject: move libc related stuff out of platform.h Signed-off-by: Denys Vlasenko --- util-linux/mkfs_vfat.c | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) (limited to 'util-linux/mkfs_vfat.c') 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 @@ * * Licensed under GPLv2, see file LICENSE in this tarball for details. */ -#include "libbb.h" -#include "volume_id/volume_id_internal.h" - #include /* HDIO_GETGEO */ #include /* FDGETPRM */ +#include /* BLKSSZGET */ +#if !defined(BLKSSZGET) +# define BLKSSZGET _IO(0x12, 104) +#endif //#include +#include "libbb.h" +#include "volume_id/volume_id_internal.h" #define SECTOR_SIZE 512 -- cgit v1.2.3