projects
/
oweals
/
busybox.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
28885c3
)
Make vodz happy and make fdisk always use large file support if
author
Eric Andersen
<andersen@codepoet.org>
Wed, 19 May 2004 09:00:00 +0000
(09:00 -0000)
committer
Eric Andersen
<andersen@codepoet.org>
Wed, 19 May 2004 09:00:00 +0000
(09:00 -0000)
possible, even if LFS is not enabled for the rest of busybox.
-Erik
util-linux/fdisk.c
patch
|
blob
|
history
diff --git
a/util-linux/fdisk.c
b/util-linux/fdisk.c
index ed42611626d61121d6fea328df679828d4ae2df4..a2c03ce79834e8f3c03b99fac21b265137df50f9 100644
(file)
--- a/
util-linux/fdisk.c
+++ b/
util-linux/fdisk.c
@@
-14,6
+14,14
@@
#define PROC_PARTITIONS "/proc/partitions"
+#include <features.h>
+/* Force fdisk to transparently remap 32-bit interfaces
+ * to instead really use 64 bit interfaces, at least for
+ * glibc and uClibc... */
+#ifndef __USE_FILE_OFFSET64
+# define __USE_FILE_OFFSET64 1
+#endif
+
#include <sys/types.h>
#include <sys/stat.h> /* stat */
#include <ctype.h>