$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 #endif +#ifdef HAVE_SYS_SOCKET_H +#include +#endif + #include /* for memset and memcpy */ #include