$OpenBSD: patch-backend_kodakaio_c,v 1.3 2015/10/09 07:06:52 ajacoutot Exp $
--- backend/kodakaio.c.orig	Sat Sep 26 02:53:42 2015
+++ backend/kodakaio.c	Thu Oct  8 07:59:29 2015
@@ -208,6 +208,10 @@ normal levels. This system is a plan rather than a rea
 #include <poll.h>
 #include <time.h>
 
+#ifdef HAVE_SYS_SOCKET_H
+#include <sys/socket.h>
+#endif
+
 #if WITH_AVAHI
 /* used for auto detecting network printers  */
 #include <assert.h>
