From 777b13c4f1c26261f6de334e12827c991e5fef5f Mon Sep 17 00:00:00 2001 From: Jeffrey Hsu Date: Wed, 15 Dec 2004 07:32:26 +0000 Subject: [PATCH] Patch up user/kernel space difference with boolean types. Reported by: Simon 'corecode' Schubert --- sys/net/radix.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/sys/net/radix.h b/sys/net/radix.h index e7d6cfa99c..e71bf0871f 100644 --- a/sys/net/radix.h +++ b/sys/net/radix.h @@ -32,7 +32,7 @@ * * @(#)radix.h 8.2 (Berkeley) 10/31/94 * $FreeBSD: src/sys/net/radix.h,v 1.16.2.1 2000/05/03 19:17:11 wollman Exp $ - * $DragonFly: src/sys/net/radix.h,v 1.6 2004/12/14 18:46:08 hsu Exp $ + * $DragonFly: src/sys/net/radix.h,v 1.7 2004/12/15 07:32:26 hsu Exp $ */ #ifndef _RADIX_H_ @@ -150,6 +150,8 @@ struct radix_node_head { }; #ifndef _KERNEL +#include +#define boolean_t bool #define R_Malloc(p, t, n) (p = (t) malloc((n))) #define Free(p) free(p); #else -- 2.41.0