Only include <linux/fs.h> on GNU/Linux
This commit is contained in:
parent
2b52ec492b
commit
3866bf6fef
|
@ -31,7 +31,9 @@
|
||||||
#include <sys/stat.h>
|
#include <sys/stat.h>
|
||||||
#include <fcntl.h>
|
#include <fcntl.h>
|
||||||
#include <unistd.h>
|
#include <unistd.h>
|
||||||
#include <linux/fs.h>
|
#ifdef __gnu_linux__
|
||||||
|
#include <linux/fs.h>
|
||||||
|
#endif
|
||||||
|
|
||||||
#if !defined(BLKPBSZGET)
|
#if !defined(BLKPBSZGET)
|
||||||
#define BLKPBSZGET _IO(0x12,123)/* get block physical sector size */
|
#define BLKPBSZGET _IO(0x12,123)/* get block physical sector size */
|
||||||
|
|
Loading…
Reference in New Issue