[tor-commits] [torsocks/master] Include <sys/socket.h> for AF_INET*.
dgoulet at torproject.org
dgoulet at torproject.org
Fri Apr 4 22:40:26 UTC 2014
commit 1ef5c3ed45bca994ace5d344c84689d7f88751a1
Author: Linus Nordberg <linus at nordberg.se>
Date: Sun Aug 25 10:37:30 2013 +0200
Include <sys/socket.h> for AF_INET*.
Signed-off-by: David Goulet <dgoulet at ev0ke.net>
---
src/common/utils.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/src/common/utils.c b/src/common/utils.c
index 59aa16f..0c5c2c8 100644
--- a/src/common/utils.c
+++ b/src/common/utils.c
@@ -18,6 +18,7 @@
*/
#include <arpa/inet.h>
+#include <sys/socket.h>
#include <assert.h>
#include <errno.h>
#include <stdlib.h>
More information about the tor-commits
mailing list