fix compilation on musl libc

This commit is contained in:
rofl0r 2012-12-18 09:38:32 +01:00
parent d888e4ebf4
commit 5ecd5ac51d

View File

@ -2,6 +2,8 @@
#include <string.h> #include <string.h>
#include <netdb.h> #include <netdb.h>
#include <stdlib.h> #include <stdlib.h>
#include <netinet/in.h>
#include <sys/socket.h>
#include "ip_type.h" #include "ip_type.h"
#include "hash.h" #include "hash.h"
@ -53,4 +55,4 @@ ip_type hdb_get(struct hostent_list *hl, char* host) {
} }
} }
return ip_type_invalid; return ip_type_invalid;
} }