diff --git a/src/core/diskdevice.cpp b/src/core/diskdevice.cpp index 8beaf83..ebed401 100644 --- a/src/core/diskdevice.cpp +++ b/src/core/diskdevice.cpp @@ -31,7 +31,9 @@ #include #include #include -#include +#ifdef __gnu_linux__ + #include +#endif #if !defined(BLKPBSZGET) #define BLKPBSZGET _IO(0x12,123)/* get block physical sector size */