summaryrefslogtreecommitdiffstats
path: root/sbin/ggate/ggated/ggated.c
diff options
context:
space:
mode:
authorbde <bde@FreeBSD.org>2004-05-04 07:08:04 +0000
committerbde <bde@FreeBSD.org>2004-05-04 07:08:04 +0000
commitfff477ffd40cd533d671c4ac6043b7cbb5f58920 (patch)
treef0abf46e879a301a3b6380eb61423ceb1a2949b8 /sbin/ggate/ggated/ggated.c
parentc0e815bd411a2af70011f42f877d762e8ad78b98 (diff)
downloadFreeBSD-src-fff477ffd40cd533d671c4ac6043b7cbb5f58920.zip
FreeBSD-src-fff477ffd40cd533d671c4ac6043b7cbb5f58920.tar.gz
Include <sys/time.h> for the declaration of struct bintime instead of
depending on namespace pollution in <sys/stat.h>. struct bintime is only needed to satisfy leakage of kernel interfaces to userland and namespace bugs in those interfaces...
Diffstat (limited to 'sbin/ggate/ggated/ggated.c')
-rw-r--r--sbin/ggate/ggated/ggated.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/sbin/ggate/ggated/ggated.c b/sbin/ggate/ggated/ggated.c
index 1c20967..664fdcc 100644
--- a/sbin/ggate/ggated/ggated.c
+++ b/sbin/ggate/ggated/ggated.c
@@ -37,6 +37,7 @@
#include <sys/socket.h>
#include <sys/ioctl.h>
#include <sys/stat.h>
+#include <sys/time.h>
#include <sys/disk.h>
#include <sys/bio.h>
#include <netinet/in.h>
OpenPOWER on IntegriCloud