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:
c5e4ab7
)
Some old kernel headers don't #include BLKSSZGET in sys/mount.h.
author
Rob Landley
<rob@landley.net>
Thu, 29 Jun 2006 19:00:12 +0000
(19:00 -0000)
committer
Rob Landley
<rob@landley.net>
Thu, 29 Jun 2006 19:00:12 +0000
(19:00 -0000)
include/platform.h
patch
|
blob
|
history
diff --git
a/include/platform.h
b/include/platform.h
index 636c1a56c2ba3648c687946d058c26da57365fe7..7157f8a45a27394a875f730b720bdeaa035af4c3 100644
(file)
--- a/
include/platform.h
+++ b/
include/platform.h
@@
-222,6
+222,9
@@
typedef unsigned long long int uintmax_t;
#if defined(__linux__)
#include <sys/mount.h>
+#if !defined(BLKSSZGET)
+#define BLKSSZGET _IO(0x12, 104)
+#endif
#if !defined(BLKGETSIZE64)
#define BLKGETSIZE64 _IOR(0x12,114,size_t)
#endif