From 7077ea30f532fcaf49b59c5bbf9da7ab05267c21 Mon Sep 17 00:00:00 2001 From: Rob Landley Date: Thu, 29 Jun 2006 19:00:12 +0000 Subject: [PATCH] Some old kernel headers don't #include BLKSSZGET in sys/mount.h. --- include/platform.h | 3 +++ 1 file changed, 3 insertions(+) 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; #if defined(__linux__) #include +#if !defined(BLKSSZGET) +#define BLKSSZGET _IO(0x12, 104) +#endif #if !defined(BLKGETSIZE64) #define BLKGETSIZE64 _IOR(0x12,114,size_t) #endif