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 e615d1d639186df60242e2aa367b13ed6f51c5de..fff02d31249635d47b92ca9da62d806be1db6146 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 e615d1d639186df60242e2aa367b13ed6f51c5de..fff02d31249635d47b92ca9da62d806be1db6146 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>