aboutsummaryrefslogtreecommitdiff
path: root/graphics/sane-backends/files/patch-backend__kodakaio.c
blob: 029e6edd74c5ccbe118cae429ecccf82ae5bcaac (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
--- backend/kodakaio.c.orig	2015-09-26 00:53:42 UTC
+++ backend/kodakaio.c
@@ -207,6 +207,10 @@ normal levels. This system is a plan rat
 #include <math.h>
 #include <poll.h>
 #include <time.h>
+#include <sys/types.h>
+#ifdef HAVE_SYS_SOCKET_H
+#include <sys/socket.h>
+#endif
 
 #if WITH_AVAHI
 /* used for auto detecting network printers  */