diff options
author | rwatson <rwatson@FreeBSD.org> | 2008-12-27 11:12:23 +0000 |
---|---|---|
committer | rwatson <rwatson@FreeBSD.org> | 2008-12-27 11:12:23 +0000 |
commit | c10016b2542a240f91e2df2202da04a2a160352e (patch) | |
tree | 6eaa9953e10ee002dd252f8e4beea17c8eca349f /lib | |
parent | 7a1e025b15c2fcce5d99097c73c3f8ae81808ce4 (diff) | |
download | FreeBSD-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.c | 2 | ||||
-rw-r--r-- | lib/libutil/kinfo_getvmmap.c | 2 |
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> |