diff options
author | Denys Vlasenko <vda.linux@googlemail.com> | 2009-10-08 03:06:04 +0200 |
---|---|---|
committer | Denys Vlasenko <vda.linux@googlemail.com> | 2009-10-08 03:06:04 +0200 |
commit | 4ac9819263114edb9b5b638ffa6d2e41a4bb46e7 (patch) | |
tree | f0c5bc9c7a2bf3a384b85350bfe4c9ca5ec4858f /util-linux | |
parent | 5b807cd5acd1f27b3e7aa36aac2728be27c5907c (diff) | |
download | busybox-w32-4ac9819263114edb9b5b638ffa6d2e41a4bb46e7.tar.gz busybox-w32-4ac9819263114edb9b5b638ffa6d2e41a4bb46e7.tar.bz2 busybox-w32-4ac9819263114edb9b5b638ffa6d2e41a4bb46e7.zip |
apply post-1.15.1 fixes
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'util-linux')
-rw-r--r-- | util-linux/fdisk.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/util-linux/fdisk.c b/util-linux/fdisk.c index 441640831..9f766ecd3 100644 --- a/util-linux/fdisk.c +++ b/util-linux/fdisk.c | |||
@@ -9,13 +9,16 @@ | |||
9 | 9 | ||
10 | #ifndef _LARGEFILE64_SOURCE | 10 | #ifndef _LARGEFILE64_SOURCE |
11 | /* For lseek64 */ | 11 | /* For lseek64 */ |
12 | #define _LARGEFILE64_SOURCE | 12 | # define _LARGEFILE64_SOURCE |
13 | #endif | 13 | #endif |
14 | #include <assert.h> /* assert */ | 14 | #include <assert.h> /* assert */ |
15 | #include <sys/mount.h> | 15 | #include <sys/mount.h> |
16 | #if !defined(BLKSSZGET) | 16 | #if !defined(BLKSSZGET) |
17 | # define BLKSSZGET _IO(0x12, 104) | 17 | # define BLKSSZGET _IO(0x12, 104) |
18 | #endif | 18 | #endif |
19 | #if !defined(BLKGETSIZE64) | ||
20 | # define BLKGETSIZE64 _IOR(0x12,114,size_t) | ||
21 | #endif | ||
19 | #include "libbb.h" | 22 | #include "libbb.h" |
20 | 23 | ||
21 | /* Looks like someone forgot to add this to config system */ | 24 | /* Looks like someone forgot to add this to config system */ |