Bug 25248

Summary: sys/user.h needs sys/param.h, but doesn't include it.
Product: Base System Reporter: joelh <joelh>
Component: kernAssignee: Bruce Evans <bde>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: 4.2-STABLE   
Hardware: Any   
OS: Any   

Description joelh 2001-02-21 10:50:01 UTC
The file <sys/user.h> (needed for the KERN_PROC sysctl oid) uses variables
defined by <sys/param.h>, but neither is documented as necessary, and the
latter is not automatically included by the former.

Fix: 

include <sys/param.h> in <sys/user.h>.

It may be good to either document in sysctl(3) that <sys/user.h> is 
needed to interpret the KERN_PROC oid, or include it in <sys/sysctl.h>.
How-To-Repeat: 
#include <sys/types.h>
#include <sys/sysctl.h>
#include <sys/user.h>

int
main()
{
}
Comment 1 dd freebsd_committer freebsd_triage 2001-04-29 03:35:20 UTC
Responsible Changed
From-To: freebsd-bugs->bde

Looks like something Bruce might be interested in investigating.
Comment 2 Remko Lodder freebsd_committer freebsd_triage 2006-12-30 20:55:23 UTC
State Changed
From-To: open->feedback

Hello, is this still relevant?
Comment 3 Remko Lodder freebsd_committer freebsd_triage 2007-01-27 19:02:18 UTC
State Changed
From-To: feedback->closed

feedback timeout