summaryrefslogtreecommitdiffstats
path: root/usr.bin
diff options
context:
space:
mode:
authorbde <bde@FreeBSD.org>2002-02-25 05:00:39 +0000
committerbde <bde@FreeBSD.org>2002-02-25 05:00:39 +0000
commitb3ad16b2d76c57cb82650940c83ccb2dc913b3a4 (patch)
treedc1da47c6be2c2d702a25f109c1c8ba5feb37f6e /usr.bin
parent7eea55cfea32efc31ff446e0672c7a6c69491e78 (diff)
downloadFreeBSD-src-b3ad16b2d76c57cb82650940c83ccb2dc913b3a4.zip
FreeBSD-src-b3ad16b2d76c57cb82650940c83ccb2dc913b3a4.tar.gz
#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.
Diffstat (limited to 'usr.bin')
-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 34ee02e..ce19f57 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>
OpenPOWER on IntegriCloud