sysmacros.patch (276B)
1 https://bugs.gentoo.org/580056 2 3 --- a/libfs/devices.c 4 +++ b/libfs/devices.c 5 @@ -30,6 +30,10 @@ 6 #include <stdio.h> 7 #include <stdlib.h> 8 9 +#if HAVE_SYS_SYSMACROS_H 10 +#include <sys/sysmacros.h> 11 +#endif 12 + 13 #ifdef HAVE_SYS_MOUNT_H 14 #ifdef HAVE_SYS_PARAM_H 15 #include <sys/param.h>