summaryrefslogtreecommitdiff
path: root/graphics/sane-backends/patches/patch-backend_xerox__mfp-tcp.c
diff options
context:
space:
mode:
Diffstat (limited to 'graphics/sane-backends/patches/patch-backend_xerox__mfp-tcp.c')
-rw-r--r--graphics/sane-backends/patches/patch-backend_xerox__mfp-tcp.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/graphics/sane-backends/patches/patch-backend_xerox__mfp-tcp.c b/graphics/sane-backends/patches/patch-backend_xerox__mfp-tcp.c
index 4b8835ad1ce..f449ee4d399 100644
--- a/graphics/sane-backends/patches/patch-backend_xerox__mfp-tcp.c
+++ b/graphics/sane-backends/patches/patch-backend_xerox__mfp-tcp.c
@@ -1,12 +1,12 @@
-$NetBSD: patch-backend_xerox__mfp-tcp.c,v 1.1 2011/07/31 20:05:58 gls Exp $
+$NetBSD: patch-backend_xerox__mfp-tcp.c,v 1.2 2012/12/10 12:06:51 ryoon Exp $
Fix for pkg/45196. Add sys/socket.h header.
---- backend/xerox_mfp-tcp.c.orig 2010-12-01 23:49:58.000000000 +0000
+--- backend/xerox_mfp-tcp.c.orig 2011-11-21 20:17:48.000000000 +0000
+++ backend/xerox_mfp-tcp.c
-@@ -28,6 +28,10 @@
- #include <errno.h>
- #include <sys/time.h>
+@@ -32,6 +32,10 @@
+ #include <sys/socket.h>
+ #endif
+#ifdef HAVE_SYS_SOCKET_H
+#include <sys/socket.h>