1 /* This file is used by some of the resolver code in inet/ that
2 comes from BIND 4.9. I have written this file instead of modifying
3 those things not to use it so that I can later drop in replacement
4 files from future BIND distributions without change. */
10 /* Some BIND code decides it can omit the definitions of some functions
11 if BSD is defined to some value. That might make sense when the BIND
12 code is augmenting or replacing an existing system library, but we can
13 never omit a function here, since we are defining the system library. */
17 /* Some code does stupid compatibility kludges for SunOS braindeath
22 /* The source code copied from BIND for inet_addr/inet_aton
23 doesn't actually define the functions without these macros. */
25 #define NEED_INETADDR 1
26 #define NEED_INETATON 1