1 --- a/include/sane/sanei_udp.h
2 +++ b/include/sane/sanei_udp.h
4 #include <netinet/in.h>
7 +#include <sys/types.h>
9 extern SANE_Status sanei_udp_open(const char *host, int port, int *fdp);
10 extern SANE_Status sanei_udp_open_broadcast(int *fdp);
11 --- a/backend/kvs20xx_cmd.h
12 +++ b/backend/kvs20xx_cmd.h
14 Panasonic KV-S20xx USB-SCSI scanners.
17 +#include <sys/types.h>
19 #define COMMAND_BLOCK 1
21 #define RESPONSE_BLOCK 3
22 --- a/backend/kvs40xx.h
23 +++ b/backend/kvs40xx.h
26 #include "../include/sane/config.h"
27 #include <semaphore.h>
28 +#include <sys/types.h>
31 #define BACKEND_NAME kvs40xx
32 --- a/backend/hp5400.c
33 +++ b/backend/hp5400.c
35 #include <stdlib.h> /* malloc, free */
36 #include <string.h> /* memcpy */
38 +#include <sys/types.h>
41 #define HP5400_CONFIG_FILE "hp5400.conf"
42 --- a/backend/hp5590.c
43 +++ b/backend/hp5590.c
48 +#include <sys/types.h>
50 #include "../include/sane/sane.h"
51 #define BACKEND_NAME hp5590