summaryrefslogtreecommitdiff
blob: 7f9bb98cc4d9c5d9652f784e332eff27d6b85316 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
--- proxychains-2.1/proxychains/core.h
+++ proxychains-2.1/proxychains/core.h
@@ -65,11 +65,9 @@
 
 int proxychains_write_log(char *str,...);
 
-#ifndef __linux__
-#define __libc_connect _connect
-#endif
+#include <sys/socket.h>
+#define __libc_connect connect
 
-extern int __libc_connect (int sock, const struct sockaddr *addr, unsigned int len);
 
 
 #endif