Fix warning for implicit declaration of time()

This commit is contained in:
Glenn L McGrath 2001-02-16 10:33:30 +00:00
parent a9c69762ba
commit 3f5bcbfa3c
2 changed files with 4 additions and 2 deletions

View File

@ -45,7 +45,8 @@
#include <rpc/pmap_prot.h> #include <rpc/pmap_prot.h>
#include <rpc/pmap_clnt.h> #include <rpc/pmap_clnt.h>
#include <sys/socket.h> #include <sys/socket.h>
#include <sys/time.h> #include <time.h>
//#include <sys/time.h>
#include <sys/utsname.h> #include <sys/utsname.h>
#include <netinet/in.h> #include <netinet/in.h>
#include <arpa/inet.h> #include <arpa/inet.h>

View File

@ -45,7 +45,8 @@
#include <rpc/pmap_prot.h> #include <rpc/pmap_prot.h>
#include <rpc/pmap_clnt.h> #include <rpc/pmap_clnt.h>
#include <sys/socket.h> #include <sys/socket.h>
#include <sys/time.h> #include <time.h>
//#include <sys/time.h>
#include <sys/utsname.h> #include <sys/utsname.h>
#include <netinet/in.h> #include <netinet/in.h>
#include <arpa/inet.h> #include <arpa/inet.h>