$OpenBSD: patch-backend_kodakaio_c,v 1.2 2013/10/01 08:59:11 ajacoutot Exp $
--- backend/kodakaio.c.orig	Tue Oct  1 10:31:13 2013
+++ backend/kodakaio.c	Tue Oct  1 10:31:41 2013
@@ -182,6 +182,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>
