--- sane-backends-1.0.22.orig/backend/hp5590_low.c 2010-12-02 00:49:58.000000000 +0100 +++ sane-backends-1.0.22/backend/hp5590_low.c 2014-03-18 08:38:55.000000000 +0100 @@ -46,6 +46,7 @@ #include <stdio.h> #include <string.h> +#include <sys/types.h> #include <errno.h> #ifdef HAVE_NETINET_IN_H # include <netinet/in.h>