diff options
Diffstat (limited to 'include/blkdev.h')
-rw-r--r-- | include/blkdev.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/include/blkdev.h b/include/blkdev.h index 5344a2bab..86fffcff6 100644 --- a/include/blkdev.h +++ b/include/blkdev.h @@ -6,6 +6,10 @@ #include <fcntl.h> #include <unistd.h> +#if HAVE_SYS_MKDEV_H +# include <sys/mkdev.h> /* major and minor on Solaris */ +#endif + #define DEFAULT_SECTOR_SIZE 512 #ifdef __linux__ |