summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorrwatson <rwatson@FreeBSD.org>2008-12-27 11:12:23 +0000
committerrwatson <rwatson@FreeBSD.org>2008-12-27 11:12:23 +0000
commitc10016b2542a240f91e2df2202da04a2a160352e (patch)
tree6eaa9953e10ee002dd252f8e4beea17c8eca349f /lib
parent7a1e025b15c2fcce5d99097c73c3f8ae81808ce4 (diff)
downloadFreeBSD-src-c10016b2542a240f91e2df2202da04a2a160352e.zip
FreeBSD-src-c10016b2542a240f91e2df2202da04a2a160352e.tar.gz
Include param.h instead of types.h when using user.h. Otherwise there is
a dependence on ucred.h including audit.h including param.h, which we would like to eliminate. MFC after: 3 weeks
Diffstat (limited to 'lib')
-rw-r--r--lib/libutil/kinfo_getfile.c2
-rw-r--r--lib/libutil/kinfo_getvmmap.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/lib/libutil/kinfo_getfile.c b/lib/libutil/kinfo_getfile.c
index 7a7a09e..84b64db 100644
--- a/lib/libutil/kinfo_getfile.c
+++ b/lib/libutil/kinfo_getfile.c
@@ -1,7 +1,7 @@
#include <sys/cdefs.h>
__FBSDID("$FreeBSD$");
-#include <sys/types.h>
+#include <sys/param.h>
#include <sys/user.h>
#include <sys/sysctl.h>
#include <stdlib.h>
diff --git a/lib/libutil/kinfo_getvmmap.c b/lib/libutil/kinfo_getvmmap.c
index 559182e..129aa03 100644
--- a/lib/libutil/kinfo_getvmmap.c
+++ b/lib/libutil/kinfo_getvmmap.c
@@ -1,7 +1,7 @@
#include <sys/cdefs.h>
__FBSDID("$FreeBSD$");
-#include <sys/types.h>
+#include <sys/param.h>
#include <sys/user.h>
#include <sys/sysctl.h>
#include <stdlib.h>
OpenPOWER on IntegriCloud