summaryrefslogtreecommitdiffstats
path: root/usr.bin/xinstall
diff options
context:
space:
mode:
authorbde <bde@FreeBSD.org>2002-11-30 18:59:31 +0000
committerbde <bde@FreeBSD.org>2002-11-30 18:59:31 +0000
commit313635e051b3819a9f1f9bedb9e93bfcf1cfdf6d (patch)
treecdb04e51dac348b1f2e94a8d681bbfcc8a9b9723 /usr.bin/xinstall
parentb52fe76381f5a430ac048bbceed2ef12f7372fc9 (diff)
downloadFreeBSD-src-313635e051b3819a9f1f9bedb9e93bfcf1cfdf6d.zip
FreeBSD-src-313635e051b3819a9f1f9bedb9e93bfcf1cfdf6d.tar.gz
#include <sys/time.h> instead of depending on namespace pollution in
<sys/stat.h> for the declaration of struct timeval. Approved by: re (rwatson)
Diffstat (limited to 'usr.bin/xinstall')
-rw-r--r--usr.bin/xinstall/xinstall.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/usr.bin/xinstall/xinstall.c b/usr.bin/xinstall/xinstall.c
index c856bf2..ca30c34 100644
--- a/usr.bin/xinstall/xinstall.c
+++ b/usr.bin/xinstall/xinstall.c
@@ -50,6 +50,7 @@ __FBSDID("$FreeBSD$");
#include <sys/mman.h>
#include <sys/mount.h>
#include <sys/stat.h>
+#include <sys/time.h>
#include <sys/wait.h>
#include <ctype.h>
OpenPOWER on IntegriCloud