Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/rofl0r/proxychains-ng.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorrofl0r <retnyg@gmx.net>2012-12-18 12:38:32 +0400
committerrofl0r <retnyg@gmx.net>2012-12-18 12:38:32 +0400
commit5ecd5ac51dcb8c9f60eefc7ec415bcc3bb765cf6 (patch)
tree030f6317212faa6f7e262ad872906e7062d397c8 /src
parentd888e4ebf4cd73a38f307b70403bc231186a69d4 (diff)
fix compilation on musl libc
Diffstat (limited to 'src')
-rw-r--r--src/hostentdb.c4
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
+}