summaryrefslogtreecommitdiff
path: root/net/httping/patches/patch-main.c
blob: 59968bf28ffdf6e2a5d140016c47d318b6aa95ba (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
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>