commit | dace233d70cd5990500651dc416a634ed18e5c02 | [log] [tgz] |
---|---|---|
author | Darren Tucker <dtucker@zip.com.au> | Fri Sep 22 19:22:17 2006 +1000 |
committer | Darren Tucker <dtucker@zip.com.au> | Fri Sep 22 19:22:17 2006 +1000 |
tree | 56515dd3240da8d57a09505808d26a98fce048b0 | |
parent | 0dc5484ca690ff0dce0f9643523b10935140e086 [diff] [blame] |
- (dtucker) [packet.c canohost.c] Include arpa/inet.h for htonl macros on some platforms (eg HP-UX 11.00). From santhi.amirta at gmail com.
diff --git a/canohost.c b/canohost.c index dd3972e..2345cc3 100644 --- a/canohost.c +++ b/canohost.c
@@ -18,6 +18,7 @@ #include <sys/socket.h> #include <netinet/in.h> +#include <arpa/inet.h> #include <ctype.h> #include <errno.h>