diff options
author | Darren Tucker <dtucker@zip.com.au> | 2014-01-31 14:18:51 +1100 |
---|---|---|
committer | Darren Tucker <dtucker@zip.com.au> | 2014-01-31 14:18:51 +1100 |
commit | 0eeafcd76b972a3d159f3118227c149a4d7817fe (patch) | |
tree | 7c81429e0fe10eb98123351aa2340c644c17d34c | |
parent | 7e5cec6070673e9f9785ffc749837ada22fbe99f (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-- | ChangeLog | 2 | ||||
-rw-r--r-- | readconf.c | 1 |
2 files changed, 3 insertions, 0 deletions
@@ -1,6 +1,8 @@ | |||
1 | 20140131 | 1 | 20140131 |
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 | ||
5 | 20140130 | 7 | 20140130 |
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> |