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