-
Notifications
You must be signed in to change notification settings - Fork 103
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix build on SunOS. Patches from Thomas Merkel in TritonDataCenter/pk…
- Loading branch information
jperkin
committed
Feb 18, 2014
1 parent
204f7ae
commit 7d5ec7e
Showing
3 changed files
with
20 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,7 @@ | ||
$NetBSD: distinfo,v 1.10 2013/06/26 12:39:24 ryoon Exp $ | ||
$NetBSD: distinfo,v 1.11 2014/02/18 12:13:01 jperkin Exp $ | ||
|
||
SHA1 (httping-2.3.3.tgz) = 6b9e77039346388e2b02dbb1d60f7422e7133488 | ||
RMD160 (httping-2.3.3.tgz) = 204a9ddff58086434c1f5c608a0f5360747fb9bb | ||
Size (httping-2.3.3.tgz) = 54376 bytes | ||
SHA1 (patch-aa) = 72c327379b1cbe3cae7436e09ccee53f9277652d | ||
SHA1 (patch-main.c) = c28d784334295e3f0e8231d530fa912c11842d52 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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> |