fix compilation on musl libc
parent
d888e4ebf4
commit
5ecd5ac51d
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue