summaryrefslogtreecommitdiffstats
path: root/usr.bin/fetch/fetch.c
diff options
context:
space:
mode:
authorbde <bde@FreeBSD.org>2002-03-27 02:23:18 +0000
committerbde <bde@FreeBSD.org>2002-03-27 02:23:18 +0000
commitc2a1e52896ba68f6abe47d2a367988c90cc47342 (patch)
treebfce0366bf6c0285b94a308d127d529dd2dcfd82 /usr.bin/fetch/fetch.c
parent4543f25906f5c42b60c6b1e4ce20f73f8d77addf (diff)
downloadFreeBSD-src-c2a1e52896ba68f6abe47d2a367988c90cc47342.zip
FreeBSD-src-c2a1e52896ba68f6abe47d2a367988c90cc47342.tar.gz
Restored the part of 1.45 that was clobbered in rev.1.46:
#include <sys/time.h> instead of depending on namespace pollution in <sys/stat.h> for the declaration of struct timeval.
Diffstat (limited to 'usr.bin/fetch/fetch.c')
-rw-r--r--usr.bin/fetch/fetch.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/usr.bin/fetch/fetch.c b/usr.bin/fetch/fetch.c
index 489e98c7..ed49a8d 100644
--- a/usr.bin/fetch/fetch.c
+++ b/usr.bin/fetch/fetch.c
@@ -32,6 +32,7 @@ __FBSDID("$FreeBSD$");
#include <sys/param.h>
#include <sys/socket.h>
#include <sys/stat.h>
+#include <sys/time.h>
#include <ctype.h>
#include <err.h>
OpenPOWER on IntegriCloud