Include <nlist.h> for nlist-related declarations instead of depending on

namespace pollution in <kvm.h>.
This commit is contained in:
bde 2003-10-13 05:30:20 +00:00
parent 779a93dc02
commit 47ef5b092f
2 changed files with 2 additions and 0 deletions

View File

@ -44,6 +44,7 @@ __FBSDID("$FreeBSD$");
#include <string.h> #include <string.h>
#include <stdarg.h> #include <stdarg.h>
#include <kvm.h> #include <kvm.h>
#include <nlist.h>
#include "devstat.h" #include "devstat.h"

View File

@ -44,6 +44,7 @@
#include <fcntl.h> #include <fcntl.h>
#include <kvm.h> #include <kvm.h>
#include <limits.h> #include <limits.h>
#include <nlist.h>
#include <netgraph/bluetooth/include/ng_bluetooth.h> #include <netgraph/bluetooth/include/ng_bluetooth.h>
#include <netgraph/bluetooth/include/ng_btsocket_hci_raw.h> #include <netgraph/bluetooth/include/ng_btsocket_hci_raw.h>