Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 27 Dec 2008 11:12:24 +0000 (UTC)
From:      Robert Watson <rwatson@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r186512 - head/lib/libutil
Message-ID:  <200812271112.mBRBCOjN069941@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200812271112.mBRBCOjN069941>