commit | 7077ea30f532fcaf49b59c5bbf9da7ab05267c21 | [log] [tgz] |
---|---|---|
author | Rob Landley <rob@landley.net> | Thu Jun 29 19:00:12 2006 +0000 |
committer | Rob Landley <rob@landley.net> | Thu Jun 29 19:00:12 2006 +0000 |
tree | ca8370d88d0cedcb9fa3651581d99751e2a9d016 | |
parent | c5e4ab7fe6bd21fa2b8af9da39ec20615d2a4c41 [diff] [blame] |
Some old kernel headers don't #include BLKSSZGET in sys/mount.h.
diff --git a/include/platform.h b/include/platform.h index 636c1a5..7157f8a 100644 --- a/include/platform.h +++ b/include/platform.h
@@ -222,6 +222,9 @@ #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