--- sane-backends-1.0.22.orig/backend/hp5400_sanei.c 2010-12-02 00:49:58.000000000 +0100 +++ sane-backends-1.0.22/backend/hp5400_sanei.c 2014-03-18 08:39:35.000000000 +0100 @@ -56,6 +56,7 @@ #include "hp5400_xfer.h" #include "hp5400_debug.h" #include <stdio.h> +#include <sys/types.h> #include "../include/sane/sanei_usb.h" #define CMD_INITBULK1 0x0087 /* send 0x14 */