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.)
This commit is contained in:
@@ -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 */
|
||||
|
Reference in New Issue
Block a user