diff options
author | Alon Zakai <alonzakai@gmail.com> | 2013-05-08 18:42:30 -0700 |
---|---|---|
committer | Alon Zakai <alonzakai@gmail.com> | 2013-05-08 18:42:30 -0700 |
commit | 5e86eb0a834d9da5128e9fe9a6e24f94ec1cf0c1 (patch) | |
tree | 91823ac8080f66488b9219ab99e53e02cb1dbc92 /system | |
parent | 65363029ef00f7082e244b6989b951b550fc6830 (diff) |
include netinet/in.h in netdb.h, like linux does; fixes #1153
Diffstat (limited to 'system')
-rw-r--r-- | system/include/netdb.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/system/include/netdb.h b/system/include/netdb.h index 147cdff4..48acdcc4 100644 --- a/system/include/netdb.h +++ b/system/include/netdb.h @@ -85,6 +85,8 @@ const char* hstrerror(int err); extern int h_errno; +#include <netinet/in.h> + #ifdef __cplusplus } #endif |