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