aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGlenn L McGrath <bug1@ihug.co.nz>2001-02-16 10:33:30 +0000
committerGlenn L McGrath <bug1@ihug.co.nz>2001-02-16 10:33:30 +0000
commit3f5bcbfa3cee92cbc1995d1e71739c47ac5ba456 (patch)
treea949f745f63de7c35bbac776dfbf9eda0648ef92
parenta9c69762badc6f3f624517e329b2349c6ec125e0 (diff)
downloadbusybox-3f5bcbfa3cee92cbc1995d1e71739c47ac5ba456.tar.gz
Fix warning for implicit declaration of time()
-rw-r--r--nfsmount.c3
-rw-r--r--util-linux/nfsmount.c3
2 files changed, 4 insertions, 2 deletions
diff --git a/nfsmount.c b/nfsmount.c
index e615d1d63..fff02d312 100644
--- a/nfsmount.c
+++ b/nfsmount.c
@@ -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>
diff --git a/util-linux/nfsmount.c b/util-linux/nfsmount.c
index e615d1d63..fff02d312 100644
--- a/util-linux/nfsmount.c
+++ b/util-linux/nfsmount.c
@@ -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>