chiark / gitweb /
preload-hacks: Some patches to make it work.
[termux-packages] / packages / torsocks / src-common-config-file.h.patch
1 diff -u -r ../torsocks-2.2.0/src/common/config-file.h ./src/common/config-file.h
2 --- ../torsocks-2.2.0/src/common/config-file.h  2016-10-18 12:44:01.000000000 -0400
3 +++ ./src/common/config-file.h  2016-12-20 21:18:35.084929826 -0500
4 @@ -21,6 +21,10 @@
5  #define CONFIG_FILE_H
6  
7  #include <netinet/in.h>
8 +#ifdef __ANDROID__
9 +/* For in_addr_t. */
10 +#include <arpa/inet.h>
11 +#endif
12  
13  #include "connection.h"
14  #include "socks5.h"