summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMark Johnston <markj@FreeBSD.org>2019-11-21 00:17:14 +0000
committerMark Johnston <markj@FreeBSD.org>2019-11-21 00:17:14 +0000
commite7485a436bad14cbf3f6a2180481ccc6bcd2997d (patch)
tree190f54e0f0fe1deae1100eb7646b2d8be0f15ea5
parent1cdb8eb8fe16025c151957b05202320e3f1c9a78 (diff)
downloadsrc-test2-e7485a436bad14cbf3f6a2180481ccc6bcd2997d.tar.gz
src-test2-e7485a436bad14cbf3f6a2180481ccc6bcd2997d.zip
Avoid relying on pollution from libcasper.h.
Reported by: sjg Sponsored by: The FreeBSD Foundation
Notes
Notes: svn path=/head/; revision=354926
-rw-r--r--usr.sbin/rtsold/cap_llflags.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/usr.sbin/rtsold/cap_llflags.c b/usr.sbin/rtsold/cap_llflags.c
index 2b1d31b48444..b2c07df7379d 100644
--- a/usr.sbin/rtsold/cap_llflags.c
+++ b/usr.sbin/rtsold/cap_llflags.c
@@ -44,6 +44,7 @@ __FBSDID("$FreeBSD$");
#include <errno.h>
#include <ifaddrs.h>
#include <string.h>
+#include <unistd.h>
#include <libcasper.h>
#include <libcasper_service.h>