diff options
author | Chuck Lever <chuck.lever@oracle.com> | 2015-06-01 07:51:47 -0400 |
---|---|---|
committer | Steve Dickson <steved@redhat.com> | 2015-06-01 08:11:35 -0400 |
commit | 2e45e4f7f14a157a42d0cb1bc4bf984c906169ba (patch) | |
tree | 85290fb26b815e188cbf2aef3a098318c2a2beca /tirpc/rpc | |
parent | 29d48e0879edf6d9d636b1d6fff89863714c3331 (diff) | |
download | ti-rpc-2e45e4f7f14a157a42d0cb1bc4bf984c906169ba.tar.gz |
Do not include rpc/auth_gss.h in rpc/rpc.h
<rpc/auth_gss.h> includes <gssapi/gssapi.h>, which isn't always
available.
In <rpc/rpc.h>, "#include <rpc/auth_gss.h>" is stuck behind a
conditional that is true when libtirpc itself is built. But it's
unlikely that RPC API consumers would ever set HAVE_RPCSEC_GSS. If
they need <rpc/auth_gss.h> they include it explicitly already.
Therefore, that include is not effective when the header is
installed and can be removed safely.
Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
Signed-off-by: Steve Dickson <steved@redhat.com>
Diffstat (limited to 'tirpc/rpc')
-rw-r--r-- | tirpc/rpc/rpc.h | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/tirpc/rpc/rpc.h b/tirpc/rpc/rpc.h index 1dbb391..392a7b9 100644 --- a/tirpc/rpc/rpc.h +++ b/tirpc/rpc/rpc.h @@ -60,10 +60,6 @@ #include <rpc/auth_des.h> /* protocol for des style cred */ #endif /* HAVE_AUTHDES */ -#ifdef HAVE_RPCSEC_GSS -#include <rpc/auth_gss.h> /* RPCSEC_GSS */ -#endif - /* Server side only remote procedure callee */ #include <rpc/svc_auth.h> /* service side authenticator */ #include <rpc/svc.h> /* service manager and multiplexer */ |