--- libtirpc-0.2.3.orig/src/auth_time.c	2013-02-13 16:13:59.000000000 +0100
+++ libtirpc-0.2.3/src/auth_time.c	2014-03-22 13:20:53.000000000 +0100
@@ -25,7 +25,6 @@
  *	needed to deal with TCP connections.
  */
 
-#include <sys/cdefs.h>
 #include <stdio.h>
 #include <syslog.h>
 #include <string.h>
@@ -43,7 +42,7 @@
 //#include <clnt_soc.h>
 #include <sys/select.h>
 #undef NIS
-#include <rpcsvc/nis.h>
+//#include <rpcsvc/nis.h>
 
 
 #ifdef TESTING
@@ -138,6 +137,7 @@ free_eps(eps, num)
  * NIS+ server will call __rpc_get_time_offset() with the nis_server
  * structure already populated.
  */
+#ifdef 0
 static nis_server *
 get_server(sin, host, srv, eps, maxep)
 	struct sockaddr_in *sin;
@@ -491,3 +491,4 @@ error:
 
 	return (time_valid);
 }
+#endif