summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog2
-rw-r--r--readconf.c1
2 files changed, 3 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index f9740631..2dd542ba 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,6 +1,8 @@
20140131
- (djm) [sandbox-seccomp-filter.c sandbox-systrace.c] Allow shutdown(2)
syscall from sandboxes; it may be called by packet_close.
+ - (dtucker) [readconf.c] Include <arpa/inet.h> for the hton macros. Fixes
+ build with HP-UX's compiler. Patch from Kevin Brott.
20140130
- (djm) [configure.ac] Only check for width-specified integer types
diff --git a/readconf.c b/readconf.c
index 9c7e73d7..7b42f68d 100644
--- a/readconf.c
+++ b/readconf.c
@@ -22,6 +22,7 @@
#include <netinet/in.h>
#include <netinet/in_systm.h>
#include <netinet/ip.h>
+#include <arpa/inet.h>
#include <ctype.h>
#include <errno.h>