summaryrefslogtreecommitdiff
path: root/src/auth_time.c
diff options
context:
space:
mode:
authorThorsten Kukuk <kukuk@thkukuk.de>2016-04-04 09:44:19 -0400
committerSteve Dickson <steved@redhat.com>2016-04-04 09:53:15 -0400
commit5f00f8c78c5d13437d50c0737ce77ad67fd4361d (patch)
treed510bd6df3d348a340441bfcfbaa022ec24c5e82 /src/auth_time.c
parent742bbdff6ddff4dde0d610a842cd8ac0408af0a0 (diff)
downloadti-rpc-5f00f8c78c5d13437d50c0737ce77ad67fd4361d.tar.gz
Remove dependency to nis.h
libtirpc needs rpcsvc/nis.h for compiling, but does not provide this head file. It's only provided by glibc, if the sunrpc code is not marked as deprecated, and by libnsl. But libnsl needs libtirpc to compile... Signed-off-by: Steve Dickson <steved@redhat.com>
Diffstat (limited to 'src/auth_time.c')
-rw-r--r--src/auth_time.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/auth_time.c b/src/auth_time.c
index 10e58eb..7f83ab4 100644
--- a/src/auth_time.c
+++ b/src/auth_time.c
@@ -44,8 +44,8 @@
#include <rpc/rpcb_prot.h>
//#include <clnt_soc.h>
#include <sys/select.h>
-#undef NIS
-#include <rpcsvc/nis.h>
+
+#include "nis.h"
#ifdef TESTING