[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[tor-commits] [torsocks/master] Include <sys/socket.h> for AF_INET*.
commit 1ef5c3ed45bca994ace5d344c84689d7f88751a1
Author: Linus Nordberg <linus@xxxxxxxxxxx>
Date: Sun Aug 25 10:37:30 2013 +0200
Include <sys/socket.h> for AF_INET*.
Signed-off-by: David Goulet <dgoulet@xxxxxxxxx>
---
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>
_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits