summaryrefslogtreecommitdiffstats
path: root/readconf.c
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 /readconf.c
parent7e5cec6070673e9f9785ffc749837ada22fbe99f (diff)
- (dtucker) [readconf.c] Include <arpa/inet.h> for the hton macros. Fixes
build with HP-UX's compiler. Patch from Kevin Brott.
Diffstat (limited to 'readconf.c')
-rw-r--r--readconf.c1
1 files changed, 1 insertions, 0 deletions
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>