Remove pwd tst from configure
[glibc.git] / conf / portability.h
blob54a25d850712225c6106ccf80bc32dc8b82e6356
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. */
6 #include <unistd.h>
7 #include <string.h>
8 #include <stdlib.h>
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. */
15 #undef BSD
17 /* Some code does stupid compatibility kludges for SunOS braindeath
18 #ifdef sun. */
20 #undef sun
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