diff options
Diffstat (limited to 'src/include')
| -rw-r--r-- | src/include/ChangeLog | 4 | ||||
| -rw-r--r-- | src/include/fake-addrinfo.h | 4 |
2 files changed, 8 insertions, 0 deletions
diff --git a/src/include/ChangeLog b/src/include/ChangeLog index 4f8012c3ac..b737357310 100644 --- a/src/include/ChangeLog +++ b/src/include/ChangeLog @@ -1,3 +1,7 @@ +2003-07-22 Alexandra Ellwood <lxs@mit.edu> + + * fake-addrinfo.h: Don't use broken getaddrinfo on Mac OS X + 2003-07-22 Ken Raeburn <raeburn@mit.edu> * k5-int.h (krb5int_zap_data, zap): New macros; call memset with diff --git a/src/include/fake-addrinfo.h b/src/include/fake-addrinfo.h index b019c38234..11f7c7f6a9 100644 --- a/src/include/fake-addrinfo.h +++ b/src/include/fake-addrinfo.h @@ -114,6 +114,10 @@ extern /*@dependent@*/ char *gai_strerror (int code) /*@*/; #endif +#if defined (__APPLE__) && defined (__MACH__) +#undef HAVE_GETADDRINFO +#endif + #if defined (__linux__) || defined (_AIX) /* See comments below. */ # define WRAP_GETADDRINFO |
