aboutsummaryrefslogtreecommitdiff
path: root/usr.bin/fetch/fetch.c
diff options
context:
space:
mode:
authorBruce Evans <bde@FreeBSD.org>2002-02-25 05:00:39 +0000
committerBruce Evans <bde@FreeBSD.org>2002-02-25 05:00:39 +0000
commit469a45700c9ecb59e00e75085b9c3db0c78173b6 (patch)
treedc1da47c6be2c2d702a25f109c1c8ba5feb37f6e /usr.bin/fetch/fetch.c
parent3c997c536cd72715a663085900742a22d7dfa25a (diff)
downloadsrc-469a45700c9ecb59e00e75085b9c3db0c78173b6.tar.gz
src-469a45700c9ecb59e00e75085b9c3db0c78173b6.zip
#include <sys/time.h> instead of depending on namespace pollution in
<sys/stat.h> for the declaration of struct timeval. Removed unused includes (<time.h> doesn't declare anything of interest; only <sys/time.h> does). Sorted includes a bit.
Notes
Notes: svn path=/head/; revision=91225
Diffstat (limited to 'usr.bin/fetch/fetch.c')
-rw-r--r--usr.bin/fetch/fetch.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/fetch/fetch.c b/usr.bin/fetch/fetch.c
index 34ee02e68f3a..ce19f57ab6ce 100644
--- a/usr.bin/fetch/fetch.c
+++ b/usr.bin/fetch/fetch.c
@@ -29,9 +29,9 @@
*/
#include <sys/param.h>
-#include <sys/stat.h>
#include <sys/socket.h>
-#include <sys/ioctl.h>
+#include <sys/stat.h>
+#include <sys/time.h>
#include <ctype.h>
#include <err.h>