1
0
mirror of git://sourceware.org/git/lvm2.git synced 2024-12-23 21:35:29 +03:00

Define BLKGETSIZE64 on systems with out-of-date header files.

This commit is contained in:
Alasdair Kergon 2004-01-27 20:53:57 +00:00
parent 19a0fb04ad
commit fa2a1cb1fb

View File

@ -24,6 +24,9 @@
# undef WUNTRACED /* Avoid redefinition */
# include <linux/fs.h> /* For block ioctl definitions */
# define BLKSIZE_SHIFT SECTOR_SHIFT
# ifndef BLKGETSIZE64 /* fs.h out-of-date */
# define BLKGETSIZE64 _IOR(0x12, 114, size_t)
# endif /* BLKGETSIZE64 */
#else
# include <sys/disk.h>
# define BLKBSZGET DKIOCGETBLOCKSIZE