diff options
author | Jay Freeman <saurik@saurik.com> | 2008-01-01 05:58:43 +0000 |
---|---|---|
committer | Jay Freeman <saurik@saurik.com> | 2008-01-01 05:58:43 +0000 |
commit | ea2670c18699e514ee1d65dfd35ad22c296a74e7 (patch) | |
tree | 6826a5266d78c22210c194772a8daed06ef0a19c /data/srelay/bindaddr.diff | |
parent | a45e85d54e8df7a333946cc52fec519fc6aa4d87 (diff) |
Initial commit.
git-svn-id: http://svn.telesphoreo.org/trunk@2 514c082c-b64e-11dc-b46d-3d985efe055d
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 |