Module Name: src
Committed By: dholland
Date: Wed Oct 12 23:03:36 UTC 2011
Modified Files:
src/sys/sys: ucred.h
Log Message:
sys/ucred.h does not require sys/param.h any more, only limits.h.
To generate a diff of this commit:
cvs rdiff -u -r1.35 -r1.36 src/sys/sys/ucred.h
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/sys/sys/ucred.h
diff -u src/sys/sys/ucred.h:1.35 src/sys/sys/ucred.h:1.36
--- src/sys/sys/ucred.h:1.35 Sat May 29 23:18:39 2010
+++ src/sys/sys/ucred.h Wed Oct 12 23:03:36 2011
@@ -1,4 +1,4 @@
-/* $NetBSD: ucred.h,v 1.35 2010/05/29 23:18:39 dholland Exp $ */
+/* $NetBSD: ucred.h,v 1.36 2011/10/12 23:03:36 dholland Exp $ */
/*
* Copyright (c) 1989, 1993
@@ -34,7 +34,11 @@
#ifndef _SYS_UCRED_H_
#define _SYS_UCRED_H_
-#include <sys/param.h>
+#ifdef _KERNEL
+#include <sys/syslimits.h>
+#else
+#include <limits.h>
+#endif
/*
* Credentials.