summaryrefslogtreecommitdiffstats
path: root/usr.sbin/sysinstall/media.c
diff options
context:
space:
mode:
authorbde <bde@FreeBSD.org>2002-02-25 05:23:59 +0000
committerbde <bde@FreeBSD.org>2002-02-25 05:23:59 +0000
commit94ad2d69448e78be8253f327b95a3b66dad21320 (patch)
tree39f050a062af1dc11563eb52df6476c399201b70 /usr.sbin/sysinstall/media.c
parent1108cb57449fd6a8db6c3c9e2577b40df447116f (diff)
downloadFreeBSD-src-94ad2d69448e78be8253f327b95a3b66dad21320.zip
FreeBSD-src-94ad2d69448e78be8253f327b95a3b66dad21320.tar.gz
#include <sys/time.h> instead of depending on namespace pollution in
<sys/stat.h> for the declaration of struct timeval.
Diffstat (limited to 'usr.sbin/sysinstall/media.c')
-rw-r--r--usr.sbin/sysinstall/media.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/usr.sbin/sysinstall/media.c b/usr.sbin/sysinstall/media.c
index c5216e2..25dfac8 100644
--- a/usr.sbin/sysinstall/media.c
+++ b/usr.sbin/sysinstall/media.c
@@ -43,6 +43,7 @@
#include <sys/errno.h>
#include <sys/fcntl.h>
#include <sys/stat.h>
+#include <sys/time.h>
#include <sys/mman.h>
#include <sys/wait.h>
#include <netinet/in.h>
OpenPOWER on IntegriCloud