summaryrefslogtreecommitdiff
path: root/util-linux/volume_id
diff options
context:
space:
mode:
authorDenys Vlasenko2009-07-08 02:58:38 +0200
committerDenys Vlasenko2009-07-08 02:58:38 +0200
commitda49f5852481adb0b3fa0b5ccba93b266f271c35 (patch)
tree3ab27dafe02a3723658ab2649e8b3ea28b024ac5 /util-linux/volume_id
parent95cc814dbd37a4cb5a69b5eac80bd3e5173fe908 (diff)
downloadbusybox-da49f5852481adb0b3fa0b5ccba93b266f271c35.zip
busybox-da49f5852481adb0b3fa0b5ccba93b266f271c35.tar.gz
move libc related stuff out of platform.h
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'util-linux/volume_id')
-rw-r--r--util-linux/volume_id/get_devname.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/util-linux/volume_id/get_devname.c b/util-linux/volume_id/get_devname.c
index a1786df..0686a07 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 <sys/mount.h> /* 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;