Some old kernel headers don't #include BLKSSZGET in sys/mount.h.
This commit is contained in:
1 parent
c5e4ab7fe6
commit
7077ea30f5
1 file changed
+3
@@ -222,6 +222,9 @@ typedef unsigned long long int uintmax_t;
|
||||
|
||||
#if defined(__linux__)
|
||||
#include <sys/mount.h>
|
||||
#if !defined(BLKSSZGET)
|
||||
#define BLKSSZGET _IO(0x12, 104)
|
||||
#endif
|
||||
#if !defined(BLKGETSIZE64)
|
||||
#define BLKGETSIZE64 _IOR(0x12,114,size_t)
|
||||
#endif
|
||||
|
||||
Reference in new issue
Block a user