diff options
Diffstat (limited to 'include/blkdev.h')
-rw-r--r-- | include/blkdev.h | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/include/blkdev.h b/include/blkdev.h index 57ef40d49..56a9c1f47 100644 --- a/include/blkdev.h +++ b/include/blkdev.h @@ -34,13 +34,15 @@ #define BLKBSZSET _IOW(0x12,113,size_t) #define BLKGETSIZE64 _IOR(0x12,114,size_t) /* return device size in bytes (u64 *arg) */ +#endif /* BLKROSET */ + /* block device topology ioctls, introduced in 2.6.32 */ -#define BLKIOMIN _IO(0x1,120) +#ifndef BLKIOMIN +#define BLKIOMIN _IO(0x12,120) #define BLKIOOPT _IO(0x12,121) #define BLKALIGNOFF _IO(0x12,122) #define BLKPBSZGET _IO(0x12,123) - -#endif /* BLKROSET */ +#endif #ifndef HDIO_GETGEO # ifdef __linux__ |