Fix warning for implicit declaration of time()
authorGlenn L McGrath <bug1@ihug.co.nz>
Fri, 16 Feb 2001 10:33:30 +0000 (10:33 -0000)
committerGlenn L McGrath <bug1@ihug.co.nz>
Fri, 16 Feb 2001 10:33:30 +0000 (10:33 -0000)
nfsmount.c
util-linux/nfsmount.c

index e615d1d..fff02d3 100644 (file)
@@ -45,7 +45,8 @@
 #include <rpc/pmap_prot.h>
 #include <rpc/pmap_clnt.h>
 #include <sys/socket.h>
-#include <sys/time.h>
+#include <time.h>
+//#include <sys/time.h>
 #include <sys/utsname.h>
 #include <netinet/in.h>
 #include <arpa/inet.h>
index e615d1d..fff02d3 100644 (file)
@@ -45,7 +45,8 @@
 #include <rpc/pmap_prot.h>
 #include <rpc/pmap_clnt.h>
 #include <sys/socket.h>
-#include <sys/time.h>
+#include <time.h>
+//#include <sys/time.h>
 #include <sys/utsname.h>
 #include <netinet/in.h>
 #include <arpa/inet.h>