diff options
Diffstat (limited to 'ioctl.h')
-rw-r--r-- | ioctl.h | 8 |
1 files changed, 8 insertions, 0 deletions
@@ -22,6 +22,10 @@ #include <linux/ioctl.h> #include <time.h> +#ifdef __cplusplus +extern "C" { +#endif + #define BTRFS_IOCTL_MAGIC 0x94 #define BTRFS_VOL_NAME_MAX 255 @@ -521,4 +525,8 @@ struct btrfs_ioctl_clone_range_args { #define BTRFS_IOC_DEV_REPLACE _IOWR(BTRFS_IOCTL_MAGIC, 53, \ struct btrfs_ioctl_dev_replace_args) +#ifdef __cplusplus +} +#endif + #endif |