diff options
author | wollman <wollman@FreeBSD.org> | 2000-10-10 01:50:26 +0000 |
---|---|---|
committer | wollman <wollman@FreeBSD.org> | 2000-10-10 01:50:26 +0000 |
commit | c5c43ce91fc476c67d622b0ca48e8e25ca653ff6 (patch) | |
tree | 6a86f0286158b145d4f10cd2c3b154f913998b9d /bin | |
parent | 62118ce6963d049326bd94cead782dfd91c67b48 (diff) | |
download | FreeBSD-src-c5c43ce91fc476c67d622b0ca48e8e25ca653ff6.zip FreeBSD-src-c5c43ce91fc476c67d622b0ca48e8e25ca653ff6.tar.gz |
Don't depend on <sys/stat.h> bogusly including <sys/time.h> (and thereby
<time.h>).
Diffstat (limited to 'bin')
-rw-r--r-- | bin/cp/utils.c | 1 | ||||
-rw-r--r-- | bin/dd/dd.c | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/bin/cp/utils.c b/bin/cp/utils.c index 86ab3ab..34b0225 100644 --- a/bin/cp/utils.c +++ b/bin/cp/utils.c @@ -41,6 +41,7 @@ static const char rcsid[] = #include <sys/param.h> #include <sys/stat.h> +#include <sys/time.h> #ifdef VM_AND_BUFFER_CACHE_SYNCHRONIZED #include <sys/mman.h> #endif diff --git a/bin/dd/dd.c b/bin/dd/dd.c index a7b8c66..a5bb032 100644 --- a/bin/dd/dd.c +++ b/bin/dd/dd.c @@ -54,6 +54,7 @@ static const char rcsid[] = #include <sys/conf.h> #include <sys/disklabel.h> #include <sys/filio.h> +#include <sys/time.h> #include <ctype.h> #include <err.h> |