summaryrefslogtreecommitdiff
path: root/cgpt/cgpt_nor.c
diff options
context:
space:
mode:
Diffstat (limited to 'cgpt/cgpt_nor.c')
-rw-r--r--cgpt/cgpt_nor.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/cgpt/cgpt_nor.c b/cgpt/cgpt_nor.c
index f8b361f8..fd184463 100644
--- a/cgpt/cgpt_nor.c
+++ b/cgpt/cgpt_nor.c
@@ -8,7 +8,9 @@
#include <fcntl.h>
#include <ftw.h>
#include <inttypes.h>
+#if !defined(__FreeBSD__)
#include <linux/major.h>
+#endif
#include <stdbool.h>
#include <stdarg.h>
#include <stdlib.h>