diff options
Diffstat (limited to 'source3/include')
-rw-r--r-- | source3/include/config.h.in | 7 | ||||
-rw-r--r-- | source3/include/includes.h | 9 |
2 files changed, 16 insertions, 0 deletions
diff --git a/source3/include/config.h.in b/source3/include/config.h.in index 57ef45312b..124d7b89e9 100644 --- a/source3/include/config.h.in +++ b/source3/include/config.h.in @@ -105,6 +105,7 @@ #undef HAVE_NETMASK_IFREQ #undef HAVE_NETMASK_AIX #undef HAVE_CRYPT +#undef HAVE_PUTPRPWNAM #undef WITH_MMAP #undef WITH_SYSLOG #undef WITH_SSL @@ -630,6 +631,9 @@ /* Define if you have the <net/if.h> header file. */ #undef HAVE_NET_IF_H +/* Define if you have the <net/route.h> header file. */ +#undef HAVE_NET_ROUTE_H + /* Define if you have the <netinet/tcp.h> header file. */ #undef HAVE_NETINET_TCP_H @@ -648,6 +652,9 @@ /* Define if you have the <rpc/auth.h> header file. */ #undef HAVE_RPC_AUTH_H +/* Define if you have the <rpc/clnt.h> header file. */ +#undef HAVE_RPC_CLNT_H + /* Define if you have the <rpc/rpc.h> header file. */ #undef HAVE_RPC_RPC_H diff --git a/source3/include/includes.h b/source3/include/includes.h index 92b415efa1..26bf872037 100644 --- a/source3/include/includes.h +++ b/source3/include/includes.h @@ -216,6 +216,15 @@ #include <sys/sem.h> #endif +/* + * Seems to be needed by some OS's that complain + * about struct rtentry not being defined. + */ + +#ifdef HAVE_NET_ROUTE_H +#include <net/route.h> +#endif + #ifdef HAVE_NET_IF_H #include <net/if.h> #endif |