diff options
Diffstat (limited to 'data/srelay/bindaddr.diff')
-rw-r--r-- | data/srelay/bindaddr.diff | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/data/srelay/bindaddr.diff b/data/srelay/bindaddr.diff new file mode 100644 index 000000000..a324c7da0 --- /dev/null +++ b/data/srelay/bindaddr.diff @@ -0,0 +1,21 @@ +diff -r -u srelay-0.4.6/get-bind.c srelay-0.4.6+iPhone/get-bind.c +--- srelay-0.4.6/get-bind.c 2003-04-10 02:53:17.000000000 +0000 ++++ srelay-0.4.6+iPhone/get-bind.c 2007-12-27 12:39:11.000000000 +0000 +@@ -34,7 +34,7 @@ + + #include "srelay.h" + +-#if defined(FREEBSD) || defined(SOLARIS) ++#if defined(FREEBSD) || defined(SOLARIS) || defined(__APPLE__) + #include <netinet/in.h> + #include <sys/ioctl.h> + #include <sys/sockio.h> +@@ -54,7 +54,7 @@ + static int get_ifconf(int, struct addrinfo *); + #endif /* defined(LINUX) */ + +-#if defined(FREEBSD) || defined(SOLARIS) ++#if defined(FREEBSD) || defined(SOLARIS) || defined(__APPLE__) + + #ifndef RTAX_DST + #define RTAX_DST 0 |