diff options
author | Andrew Tridgell <tridge@samba.org> | 1998-07-29 07:02:06 +0000 |
---|---|---|
committer | Andrew Tridgell <tridge@samba.org> | 1998-07-29 07:02:06 +0000 |
commit | a957abd1fd1bd891354abb1a3590627ae06a45e9 (patch) | |
tree | ae38b5da1b37971a96970c9df5211fc4e9e95814 /source3/include | |
parent | 13e351d123789ad38736da9435590f9188f5b66f (diff) | |
download | samba-a957abd1fd1bd891354abb1a3590627ae06a45e9.tar.gz samba-a957abd1fd1bd891354abb1a3590627ae06a45e9.tar.bz2 samba-a957abd1fd1bd891354abb1a3590627ae06a45e9.zip |
test for a broken inet_ntoa and replace it if necessary (for
IRIX+gcc-2.8.1)
(This used to be commit ddffbcbcb1284b6ead5f7f7b6665ba2456c0071a)
Diffstat (limited to 'source3/include')
-rw-r--r-- | source3/include/config.h.in | 1 | ||||
-rw-r--r-- | source3/include/includes.h | 3 |
2 files changed, 4 insertions, 0 deletions
diff --git a/source3/include/config.h.in b/source3/include/config.h.in index dbbd5431a2..142c554da6 100644 --- a/source3/include/config.h.in +++ b/source3/include/config.h.in @@ -105,6 +105,7 @@ #undef WITH_AUTOMOUNT #undef HAVE_PAM_AUTHENTICATE #undef HAVE_BROKEN_GETGROUPS +#undef REPLACE_INET_NTOA /* The number of bytes in a int. */ #undef SIZEOF_INT diff --git a/source3/include/includes.h b/source3/include/includes.h index 2a420f76ed..a4547a6b4a 100644 --- a/source3/include/includes.h +++ b/source3/include/includes.h @@ -408,6 +408,9 @@ union semun { #define PASSWORD_LENGTH 8 #endif +#ifdef REPLACE_INET_NTOA +#define inet_ntoa rep_inet_ntoa +#endif #ifndef HAVE_PIPE #define SYNC_DNS 1 |