summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorbde <bde@FreeBSD.org>2003-10-13 05:30:20 +0000
committerbde <bde@FreeBSD.org>2003-10-13 05:30:20 +0000
commit47ef5b092f3bf8a5a36fe7b20a91b882852c255d (patch)
tree2ecc5d638f1e367fb8ca616017bf383dde83874a /lib
parent779a93dc02572a18ca1363d418d0f07d066c3830 (diff)
downloadFreeBSD-src-47ef5b092f3bf8a5a36fe7b20a91b882852c255d.zip
FreeBSD-src-47ef5b092f3bf8a5a36fe7b20a91b882852c255d.tar.gz
Include <nlist.h> for nlist-related declarations instead of depending on
namespace pollution in <kvm.h>.
Diffstat (limited to 'lib')
-rw-r--r--lib/libdevstat/devstat.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/libdevstat/devstat.c b/lib/libdevstat/devstat.c
index 2522755..cc181f8 100644
--- a/lib/libdevstat/devstat.c
+++ b/lib/libdevstat/devstat.c
@@ -44,6 +44,7 @@ __FBSDID("$FreeBSD$");
#include <string.h>
#include <stdarg.h>
#include <kvm.h>
+#include <nlist.h>
#include "devstat.h"
OpenPOWER on IntegriCloud