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
This commit is contained in:
Robert Watson 2008-12-27 11:12:23 +00:00
parent f496eee7e3
commit aa334e412d
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=186512
2 changed files with 2 additions and 2 deletions

View file

@ -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>

View file

@ -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>