diff options
Diffstat (limited to 'src/gpt-auto-generator')
-rw-r--r-- | src/gpt-auto-generator/gpt-auto-generator.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/gpt-auto-generator/gpt-auto-generator.c b/src/gpt-auto-generator/gpt-auto-generator.c index 81d692c513..a26655f096 100644 --- a/src/gpt-auto-generator/gpt-auto-generator.c +++ b/src/gpt-auto-generator/gpt-auto-generator.c @@ -22,11 +22,14 @@ #include <unistd.h> #include <stdlib.h> #include <fcntl.h> -#include <linux/btrfs.h> #include <sys/ioctl.h> #include <sys/statfs.h> #include <blkid.h> +#ifdef HAVE_LINUX_BTRFS_H +#include <linux/btrfs.h> +#endif + #include "path-util.h" #include "util.h" #include "mkdir.h" |