summaryrefslogtreecommitdiffstats
path: root/usr.bin/kdump
diff options
context:
space:
mode:
authoroshogbo <oshogbo@FreeBSD.org>2015-07-02 21:58:10 +0000
committeroshogbo <oshogbo@FreeBSD.org>2015-07-02 21:58:10 +0000
commit55d95276339dc90b68f6b9108bbaeeca1fff715e (patch)
tree80ab9f9e7fd1444c52e233037e177dfa3b7a1eff /usr.bin/kdump
parent029d310933bead17f87eca6486a236878b2b6dc4 (diff)
downloadFreeBSD-src-55d95276339dc90b68f6b9108bbaeeca1fff715e.zip
FreeBSD-src-55d95276339dc90b68f6b9108bbaeeca1fff715e.tar.gz
Let the nv.h and dnv.h includes be only in sys directory.
Change consumers to include those files from sys. Add duplicated files to ObsoleteFiles. Approved by: pjd (mentor)
Diffstat (limited to 'usr.bin/kdump')
-rw-r--r--usr.bin/kdump/kdump.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.bin/kdump/kdump.c b/usr.bin/kdump/kdump.c
index 2f6c1e7..d8b6ccd 100644
--- a/usr.bin/kdump/kdump.c
+++ b/usr.bin/kdump/kdump.c
@@ -61,6 +61,9 @@ extern int errno;
#include <sys/un.h>
#include <sys/queue.h>
#include <sys/wait.h>
+#ifdef HAVE_LIBCAPSICUM
+#include <sys/nv.h>
+#endif
#include <arpa/inet.h>
#include <netinet/in.h>
#include <ctype.h>
@@ -77,9 +80,6 @@ extern int errno;
#include <locale.h>
#include <netdb.h>
#include <nl_types.h>
-#ifdef HAVE_LIBCAPSICUM
-#include <nv.h>
-#endif
#include <pwd.h>
#include <stdio.h>
#include <stdlib.h>
OpenPOWER on IntegriCloud