fix compilation on musl libc

pull/18/head
rofl0r 2012-12-18 09:38:32 +01:00
parent d888e4ebf4
commit 5ecd5ac51d
1 changed files with 3 additions and 1 deletions

View File

@ -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;
}
}