summaryrefslogtreecommitdiff
path: root/net/httping/patches
diff options
context:
space:
mode:
authorjperkin <jperkin@pkgsrc.org>2014-02-18 12:13:01 +0000
committerjperkin <jperkin@pkgsrc.org>2014-02-18 12:13:01 +0000
commitc2bba419f019eb41a5b5919e34c92e3066980fe3 (patch)
tree345acf58d08d33b8510f0101e0edf194de7b56c1 /net/httping/patches
parentd2b529693ddea50985baaa1a16d0a8ab1555eea1 (diff)
downloadpkgsrc-c2bba419f019eb41a5b5919e34c92e3066980fe3.tar.gz
Fix build on SunOS. Patches from Thomas Merkel in joyent/pkgsrc#175.
Diffstat (limited to 'net/httping/patches')
-rw-r--r--net/httping/patches/patch-main.c16
1 files changed, 16 insertions, 0 deletions
diff --git a/net/httping/patches/patch-main.c b/net/httping/patches/patch-main.c
new file mode 100644
index 00000000000..59968bf28ff
--- /dev/null
+++ b/net/httping/patches/patch-main.c
@@ -0,0 +1,16 @@
+$NetBSD: patch-main.c,v 1.1 2014/02/18 12:13:01 jperkin Exp $
+
+SunOS needs sys/termios.h for TIOCOUTQ.
+
+--- main.c.orig 2013-06-07 13:18:52.000000000 +0000
++++ main.c
+@@ -16,6 +16,9 @@
+ #include <sys/types.h>
+ #include <sys/socket.h>
+ #include <sys/ioctl.h>
++#ifdef __sun
++#include <sys/termios.h>
++#endif
+ #include <netinet/in.h>
+ #include <netinet/tcp.h>
+ #include <netdb.h>