--- libnfsidmap-0.25.orig/cfg.c 2011-12-05 21:28:10.000000000 +0100 +++ libnfsidmap-0.25/cfg.c 2013-08-13 12:25:51.000000000 +0200 @@ -34,6 +34,7 @@ #include <sys/mman.h> #include <sys/socket.h> #include <sys/stat.h> +#include <sys/types.h> #include <netinet/in.h> #include <arpa/inet.h> #include <ctype.h>