diff options
author | Jeremy Allison <jra@samba.org> | 1998-11-18 22:04:24 +0000 |
---|---|---|
committer | Jeremy Allison <jra@samba.org> | 1998-11-18 22:04:24 +0000 |
commit | 9579b9823707b9acadfd7bf24d1c540eacf53fc0 (patch) | |
tree | 41ddb7a17316ec66ea47bdc58e9b562fbf157222 /source3/include | |
parent | bb9622bfa6bbbe74a6e4c032cf81501bcbff999d (diff) | |
download | samba-9579b9823707b9acadfd7bf24d1c540eacf53fc0.tar.gz samba-9579b9823707b9acadfd7bf24d1c540eacf53fc0.tar.bz2 samba-9579b9823707b9acadfd7bf24d1c540eacf53fc0.zip |
Added OSF1 changes to HEAD (-lsecurity etc.)
groupdb/groupdb.c: Fixed compile error caught by IRIX compiler.
utils/smbpasswd.c: Fixed SunOS optind, optarg problem.
Jeremy.
(This used to be commit 30af39ae1edf51d5d06a1764982e5df431c142ac)
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 |