summaryrefslogtreecommitdiff
path: root/src/rpcbind.c
diff options
context:
space:
mode:
authorChuck Lever <chuck.lever@oracle.com>2008-10-28 10:07:58 -0400
committerSteve Dickson <steved@redhat.com>2008-10-28 10:07:58 -0400
commit98ca016d5a2fb7a7da9e2332e3c59b123b820477 (patch)
treeeb863ecf410fb9f700803735b8d9be834a9eb81e /src/rpcbind.c
parent9266c745930cd052713e83c7ecb0917c17f33505 (diff)
downloadrpcbind-98ca016d5a2fb7a7da9e2332e3c59b123b820477.tar.gz
rpcbind: Squelch a compiler warning
Include <nss.h> to get a forward declaration of __nss_configure_lookup(). This eliminates the compiler warning: rpcbind.c: In function main rpcbind.c:163: warning: implicit declaration of function _nss_configure_lookup Signed-off-by: Chuck Lever <chuck.lever@oracle.com> Signed-off-by: Steve Dickson <steved@redhat.com>
Diffstat (limited to 'src/rpcbind.c')
-rw-r--r--src/rpcbind.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/rpcbind.c b/src/rpcbind.c
index ad23b37..7fb4062 100644
--- a/src/rpcbind.c
+++ b/src/rpcbind.c
@@ -68,6 +68,7 @@
#include <pwd.h>
#include <string.h>
#include <errno.h>
+#include <nss.h>
#include "config.h"
#include "rpcbind.h"