diff options
author | bde <bde@FreeBSD.org> | 2002-02-25 05:00:39 +0000 |
---|---|---|
committer | bde <bde@FreeBSD.org> | 2002-02-25 05:00:39 +0000 |
commit | b3ad16b2d76c57cb82650940c83ccb2dc913b3a4 (patch) | |
tree | dc1da47c6be2c2d702a25f109c1c8ba5feb37f6e | |
parent | 7eea55cfea32efc31ff446e0672c7a6c69491e78 (diff) | |
download | FreeBSD-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.
-rw-r--r-- | usr.bin/fetch/fetch.c | 4 |
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> |