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/volume_id/get_devname.c | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'util-linux/volume_id') diff --git a/util-linux/volume_id/get_devname.c b/util-linux/volume_id/get_devname.c index a1786df1c..0686a0741 100644 --- a/util-linux/volume_id/get_devname.c +++ b/util-linux/volume_id/get_devname.c @@ -7,11 +7,12 @@ * * Licensed under GPLv2 or later, see file LICENSE in this tarball for details. */ - +#include /* BLKGETSIZE64 */ +#if !defined(BLKGETSIZE64) +# define BLKGETSIZE64 _IOR(0x12,114,size_t) +#endif #include "volume_id_internal.h" -//#define BLKGETSIZE64 _IOR(0x12,114,size_t) - static struct uuidCache_s { struct uuidCache_s *next; // int major, minor; -- cgit v1.2.3