summaryrefslogtreecommitdiffstats
path: root/sbin/dmesg
diff options
context:
space:
mode:
authorbde <bde@FreeBSD.org>2002-08-18 17:57:08 +0000
committerbde <bde@FreeBSD.org>2002-08-18 17:57:08 +0000
commita8e6e41c8886b8ac371f465751a3f2836beb8614 (patch)
tree1b882a878e59409bf781f971cf79384a7d3d9646 /sbin/dmesg
parentd8025b239ff2dd1e69934313ada8a84cadb5e9fe (diff)
downloadFreeBSD-src-a8e6e41c8886b8ac371f465751a3f2836beb8614.zip
FreeBSD-src-a8e6e41c8886b8ac371f465751a3f2836beb8614.tar.gz
Include <nlist.h> for nlist interfaces instead of depending on namespace
pollution in <kvm.h>.
Diffstat (limited to 'sbin/dmesg')
-rw-r--r--sbin/dmesg/dmesg.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/sbin/dmesg/dmesg.c b/sbin/dmesg/dmesg.c
index 90ab20d..7f60d8b 100644
--- a/sbin/dmesg/dmesg.c
+++ b/sbin/dmesg/dmesg.c
@@ -53,6 +53,7 @@ static const char rcsid[] =
#include <fcntl.h>
#include <kvm.h>
#include <locale.h>
+#include <nlist.h>
#include <stdio.h>
#include <stdlib.h>
#include <unistd.h>
OpenPOWER on IntegriCloud