summaryrefslogtreecommitdiff
path: root/include/sane/sanei_udp.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/sane/sanei_udp.h')
-rw-r--r--include/sane/sanei_udp.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/sane/sanei_udp.h b/include/sane/sanei_udp.h
index c44afdd..e32fc1a 100644
--- a/include/sane/sanei_udp.h
+++ b/include/sane/sanei_udp.h
@@ -27,6 +27,9 @@
#include <netinet/in.h>
#include <netdb.h>
#endif
+#ifdef HAVE_SYS_TYPES_H
+#include <sys/types.h>
+#endif
extern SANE_Status sanei_udp_open(const char *host, int port, int *fdp);
extern SANE_Status sanei_udp_open_broadcast(int *fdp);