svn commit: r186512 - head/lib/libutil
Robert Watson
rwatson at FreeBSD.org
Sat Dec 27 11:12:24 UTC 2008
Author: rwatson
Date: Sat Dec 27 11:12:23 2008
New Revision: 186512
URL: http://svn.freebsd.org/changeset/base/186512
Log:
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
Modified:
head/lib/libutil/kinfo_getfile.c
head/lib/libutil/kinfo_getvmmap.c
Modified: head/lib/libutil/kinfo_getfile.c
==============================================================================
--- head/lib/libutil/kinfo_getfile.c Sat Dec 27 11:00:20 2008 (r186511)
+++ head/lib/libutil/kinfo_getfile.c Sat Dec 27 11:12:23 2008 (r186512)
@@ -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>
Modified: head/lib/libutil/kinfo_getvmmap.c
==============================================================================
--- head/lib/libutil/kinfo_getvmmap.c Sat Dec 27 11:00:20 2008 (r186511)
+++ head/lib/libutil/kinfo_getvmmap.c Sat Dec 27 11:12:23 2008 (r186512)
@@ -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>
More information about the svn-src-head
mailing list