diff options
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 3e1229e9d..5dbfb7783 100644 --- a/include/platform.h +++ b/include/platform.h | |||
@@ -242,8 +242,11 @@ typedef unsigned long long int uintmax_t; | |||
242 | #define bb_setpgrp setpgrp() | 242 | #define bb_setpgrp setpgrp() |
243 | #endif | 243 | #endif |
244 | 244 | ||
245 | #if defined(__linux__) && !defined(BLKGETSIZE64) | 245 | #if defined(__linux__) |
246 | #include <sys/mount.h> | ||
247 | #if !defined(BLKGETSIZE64) | ||
246 | #define BLKGETSIZE64 _IOR(0x12,114,size_t) | 248 | #define BLKGETSIZE64 _IOR(0x12,114,size_t) |
247 | #endif | 249 | #endif |
250 | #endif | ||
248 | 251 | ||
249 | #endif /* platform.h */ | 252 | #endif /* platform.h */ |