aboutsummaryrefslogtreecommitdiff
path: root/system
diff options
context:
space:
mode:
authorAlon Zakai <alonzakai@gmail.com>2012-09-29 21:32:09 -0700
committerAlon Zakai <alonzakai@gmail.com>2012-09-29 21:32:09 -0700
commit7eaa78060c34489c7e56193c725641303d520f31 (patch)
tree243c47baa4c6ce4273a5743d79f3c0dbc78789e5 /system
parent917daa5083a9f03fcfd5204f908e2f95dc664a9e (diff)
headers fix; fixes test_inet
Diffstat (limited to 'system')
-rw-r--r--system/include/net/arpa/inet.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/system/include/net/arpa/inet.h b/system/include/net/arpa/inet.h
index 9d078276..83eaa0fa 100644
--- a/system/include/net/arpa/inet.h
+++ b/system/include/net/arpa/inet.h
@@ -7,6 +7,7 @@ extern "C" {
#endif
#include <stdint.h>
+#include <netdb.h>
uint32_t htonl(uint32_t hostlong);
uint16_t htons(uint16_t hostshort);