diff options
Diffstat (limited to 'src/gbm')
-rw-r--r-- | src/gbm/main/gbm.c | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/src/gbm/main/gbm.c b/src/gbm/main/gbm.c index 5a6e758e7a5..20ff3f280a7 100644 --- a/src/gbm/main/gbm.c +++ b/src/gbm/main/gbm.c @@ -31,7 +31,12 @@ #include <string.h> #include <stdint.h> -#include <sys/types.h> +#ifdef MAJOR_IN_MKDEV +#include <sys/mkdev.h> +#endif +#ifdef MAJOR_IN_SYSMACROS +#include <sys/sysmacros.h> +#endif #include <sys/stat.h> #include <unistd.h> #include <errno.h> |