diff options
author | Rob Landley | 2006-06-15 15:49:36 +0000 |
---|---|---|
committer | Rob Landley | 2006-06-15 15:49:36 +0000 |
commit | 22d26fc6ae2af584482deaf92f25bb6a7261ad78 (patch) | |
tree | 3e9e7c2b43314acdd1f4db7e3a89a3c69daf814a /include | |
parent | d6e5083d16c940e36312f4a1b52317dcfc32c011 (diff) | |
download | busybox-22d26fc6ae2af584482deaf92f25bb6a7261ad78.zip busybox-22d26fc6ae2af584482deaf92f25bb6a7261ad78.tar.gz |
Patch from Yann Morin to put BLKGETSIZE64 in platform.h had rather a lot of
fallout due to the #include <sys/mount.h>. Removed that #include from various
applets and fixed up those that were unhappy when that #include was made
because they'd block copied stuff out of it. (Sigh.)
Diffstat (limited to 'include')
-rw-r--r-- | include/platform.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/include/platform.h b/include/platform.h index 3e1229e..5dbfb77 100644 --- a/include/platform.h +++ b/include/platform.h @@ -242,8 +242,11 @@ typedef unsigned long long int uintmax_t; #define bb_setpgrp setpgrp() #endif -#if defined(__linux__) && !defined(BLKGETSIZE64) +#if defined(__linux__) +#include <sys/mount.h> +#if !defined(BLKGETSIZE64) #define BLKGETSIZE64 _IOR(0x12,114,size_t) #endif +#endif #endif /* platform.h */ |