Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/sys sys/ucred.h does not require sys/param.h any more, o...
details: https://anonhg.NetBSD.org/src/rev/37433a1a5f9a
branches: trunk
changeset: 770334:37433a1a5f9a
user: dholland <dholland%NetBSD.org@localhost>
date: Wed Oct 12 23:03:36 2011 +0000
description:
sys/ucred.h does not require sys/param.h any more, only limits.h.
diffstat:
sys/sys/ucred.h | 8 ++++++--
1 files changed, 6 insertions(+), 2 deletions(-)
diffs (22 lines):
diff -r 7e622abf043e -r 37433a1a5f9a sys/sys/ucred.h
--- a/sys/sys/ucred.h Wed Oct 12 22:50:31 2011 +0000
+++ b/sys/sys/ucred.h Wed Oct 12 23:03:36 2011 +0000
@@ -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.
Home |
Main Index |
Thread Index |
Old Index