Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/external/cddl/osnet/dist/common/acl #include <sys/debug.h> (...



details:   https://anonhg.NetBSD.org/src/rev/33068c2f5bbe
branches:  trunk
changeset: 763086:33068c2f5bbe
user:      riz <riz%NetBSD.org@localhost>
date:      Wed Mar 09 23:55:46 2011 +0000

description:
#include <sys/debug.h> (from the ZFS sources) so that ASSERT() is
defined, and we don't get problems like kern/44430.  This is
more a workaround than a fix, but at least I can load zfs now.

ok haad@

diffstat:

 external/cddl/osnet/dist/common/acl/acl_common.c |  1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diffs (11 lines):

diff -r 150ae2a8a14d -r 33068c2f5bbe external/cddl/osnet/dist/common/acl/acl_common.c
--- a/external/cddl/osnet/dist/common/acl/acl_common.c  Wed Mar 09 23:50:40 2011 +0000
+++ b/external/cddl/osnet/dist/common/acl/acl_common.c  Wed Mar 09 23:55:46 2011 +0000
@@ -26,6 +26,7 @@
 #pragma ident  "%Z%%M% %I%     %E% SMI"
 
 #include <sys/types.h>
+#include <sys/debug.h>
 #include <sys/stat.h>
 #include <sys/avl.h>
 #if defined(_KERNEL)



Home | Main Index | Thread Index | Old Index