Ticket #18502: patch-ioctl.h.diff
File patch-ioctl.h.diff, 495 bytes (added by 0xffea@…, 16 years ago) |
---|
-
ioctl.h
old new 18 18 19 19 #ifndef __IOCTL_ 20 20 #define __IOCTL_ 21 #ifndef __APPLE__ 21 22 #include <asm/types.h> 22 23 #include <linux/ioctl.h> 24 #endif 25 26 #include <stdint.h> 23 27 24 28 #define BTRFS_IOCTL_MAGIC 0x94 25 29 #define BTRFS_VOL_NAME_MAX 255 26 30 #define BTRFS_PATH_NAME_MAX 4087 27 31 28 32 struct btrfs_ioctl_vol_args { 33 #ifdef __APPLE__ 34 int64_t fd; 35 #else 29 36 __s64 fd; 37 #endif 30 38 char name[BTRFS_PATH_NAME_MAX + 1]; 31 39 }; 32 40