diff options
author | rofl0r <retnyg@gmx.net> | 2012-12-18 12:38:32 +0400 |
---|---|---|
committer | rofl0r <retnyg@gmx.net> | 2012-12-18 12:38:32 +0400 |
commit | 5ecd5ac51dcb8c9f60eefc7ec415bcc3bb765cf6 (patch) | |
tree | 030f6317212faa6f7e262ad872906e7062d397c8 /src | |
parent | d888e4ebf4cd73a38f307b70403bc231186a69d4 (diff) |
fix compilation on musl libc
Diffstat (limited to 'src')
-rw-r--r-- | src/hostentdb.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/hostentdb.c b/src/hostentdb.c index 1562162..337e26c 100644 --- a/src/hostentdb.c +++ b/src/hostentdb.c @@ -2,6 +2,8 @@ #include <string.h> #include <netdb.h> #include <stdlib.h> +#include <netinet/in.h> +#include <sys/socket.h> #include "ip_type.h" #include "hash.h" @@ -53,4 +55,4 @@ ip_type hdb_get(struct hostent_list *hl, char* host) { } } return ip_type_invalid; -}
\ No newline at end of file +} |