1 2 3 4 5 6 7 8 9 10 11 12 13 14
https://bugs.gentoo.org/580372 include sys/sysmacros.h for major/minor prototypes --- a/photosyst.c +++ b/photosyst.c @@ -164,6 +164,7 @@ #include <signal.h> #include <string.h> #include <dirent.h> +#include <sys/sysmacros.h> #include <sys/socket.h> #include <netinet/in.h>