$NetBSD: patch-af,v 1.5 2011/01/30 18:04:23 rumko Exp $

Fix build on DragonFly, PR pkg/44193.
Upstream bug report:
https://alioth.debian.org/tracker/index.php?func=detail&aid=312965

--- backend/epson2.h.orig	2010-04-05 13:18:04.000000000 +0000
+++ backend/epson2.h
@@ -36,6 +36,10 @@
 #include <sys/types.h>
 #endif
 
+#ifdef HAVE_SYS_SOCKET_H
+#include <sys/socket.h>
+#endif
+
 #include <string.h> /* for memset and memcpy */
 #include <stdio.h>
 
