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