X-Git-Url: https://git.distorted.org.uk/~mdw/adns/blobdiff_plain/8d3d3e02c133e722decb18c9f853626deadac113..ac015392d33daece5de3b5cf9ecfa6a8988860fe:/src/config.h.in diff --git a/src/config.h.in b/src/config.h.in index 5de7cb0..a22abe8 100644 --- a/src/config.h.in +++ b/src/config.h.in @@ -1,5 +1,8 @@ /* src/config.h.in. Generated automatically from configure.in by autoheader. */ +/* Define if inline functions a la GCC are available. */ +#undef HAVE_INLINE + /* Define if function attributes a la GCC 2.5 and higher are available. */ #undef HAVE_GNUC25_ATTRIB @@ -12,9 +15,15 @@ /* Define if printf-format argument lists a la GCC are available. */ #undef HAVE_GNUC25_PRINTFFORMAT +/* Define if we want to include rpc/types.h. Crap BSDs put INADDR_LOOPBACK there. */ +#undef HAVEUSE_RPCTYPES_H + /* Define if you have the poll function. */ #undef HAVE_POLL +/* Define if you have the header file. */ +#undef HAVE_SYS_SELECT_H + /* Define if you have the nsl library (-lnsl). */ #undef HAVE_LIBNSL @@ -23,6 +32,10 @@ /* Use the definitions: */ +#ifndef HAVE_INLINE +#define inline +#endif + #ifdef HAVE_POLL #include #else @@ -82,3 +95,11 @@ struct pollfd { int fd; short events; short revents; }; #ifndef CONSTANT #define CONSTANT FUNCATTR((ATTRCONST)) #endif + +#ifdef HAVEUSE_RPCTYPES_H +#include +#endif + +#ifdef HAVE_SYS_SELECT_H +#include +#endif