summaryrefslogtreecommitdiff
blob: b65c4c97518363165455b71d41b158d0e8830808 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
include sysmacros.h explicitly for major()/minor()/etc...

--- a/growisofs.c
+++ b/growisofs.c
@@ -408,6 +408,7 @@
 # ifndef _GNU_SOURCE
 #  define _GNU_SOURCE
 # endif
+# include <sys/sysmacros.h>
 #elif defined(__OpenBSD__) || defined(__NetBSD__) || defined(__FreeBSD__) || \
       (defined(__APPLE__) && defined(__MACH__))
 # define off64_t	off_t