--- a/gl/lib/mountlist.c +++ b/gl/lib/mountlist.c @@ -33,6 +33,8 @@ #include <unistd.h> +#include <sys/sysmacros.h> + #if HAVE_SYS_PARAM_H # include <sys/param.h> #endif