aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorlandley <landley@69ca8d6d-28ef-0310-b511-8ec308f3f277>2006-06-29 19:00:12 +0000
committerlandley <landley@69ca8d6d-28ef-0310-b511-8ec308f3f277>2006-06-29 19:00:12 +0000
commit11ed8b8b550caeb495380ede922c3776d9bc7780 (patch)
treeca8370d88d0cedcb9fa3651581d99751e2a9d016 /include
parent9f7f46b5f3259c7e2207ae2d297b7b83bd9fdba5 (diff)
downloadbusybox-w32-11ed8b8b550caeb495380ede922c3776d9bc7780.tar.gz
busybox-w32-11ed8b8b550caeb495380ede922c3776d9bc7780.tar.bz2
busybox-w32-11ed8b8b550caeb495380ede922c3776d9bc7780.zip
Some old kernel headers don't #include BLKSSZGET in sys/mount.h.
git-svn-id: svn://busybox.net/trunk/busybox@15543 69ca8d6d-28ef-0310-b511-8ec308f3f277
Diffstat (limited to 'include')
-rw-r--r--include/platform.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/platform.h b/include/platform.h
index 636c1a56c..7157f8a45 100644
--- a/include/platform.h
+++ b/include/platform.h
@@ -222,6 +222,9 @@ typedef unsigned long long int uintmax_t;
222 222
223#if defined(__linux__) 223#if defined(__linux__)
224#include <sys/mount.h> 224#include <sys/mount.h>
225#if !defined(BLKSSZGET)
226#define BLKSSZGET _IO(0x12, 104)
227#endif
225#if !defined(BLKGETSIZE64) 228#if !defined(BLKGETSIZE64)
226#define BLKGETSIZE64 _IOR(0x12,114,size_t) 229#define BLKGETSIZE64 _IOR(0x12,114,size_t)
227#endif 230#endif