summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDarren Tucker <dtucker@zip.com.au>2014-01-31 14:18:51 +1100
committerDarren Tucker <dtucker@zip.com.au>2014-01-31 14:18:51 +1100
commit0eeafcd76b972a3d159f3118227c149a4d7817fe (patch)
tree7c81429e0fe10eb98123351aa2340c644c17d34c
parent7e5cec6070673e9f9785ffc749837ada22fbe99f (diff)
- (dtucker) [readconf.c] Include <arpa/inet.h> for the hton macros. Fixes
build with HP-UX's compiler. Patch from Kevin Brott.
-rw-r--r--ChangeLog2
-rw-r--r--readconf.c1
2 files changed, 3 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index f9740631e..2dd542ba2 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,6 +1,8 @@
120140131 120140131
2 - (djm) [sandbox-seccomp-filter.c sandbox-systrace.c] Allow shutdown(2) 2 - (djm) [sandbox-seccomp-filter.c sandbox-systrace.c] Allow shutdown(2)
3 syscall from sandboxes; it may be called by packet_close. 3 syscall from sandboxes; it may be called by packet_close.
4 - (dtucker) [readconf.c] Include <arpa/inet.h> for the hton macros. Fixes
5 build with HP-UX's compiler. Patch from Kevin Brott.
4 6
520140130 720140130
6 - (djm) [configure.ac] Only check for width-specified integer types 8 - (djm) [configure.ac] Only check for width-specified integer types
diff --git a/readconf.c b/readconf.c
index 9c7e73d7d..7b42f68d9 100644
--- a/readconf.c
+++ b/readconf.c
@@ -22,6 +22,7 @@
22#include <netinet/in.h> 22#include <netinet/in.h>
23#include <netinet/in_systm.h> 23#include <netinet/in_systm.h>
24#include <netinet/ip.h> 24#include <netinet/ip.h>
25#include <arpa/inet.h>
25 26
26#include <ctype.h> 27#include <ctype.h>
27#include <errno.h> 28#include <errno.h>