Module Name: src Committed By: yamt Date: Thu Apr 14 15:34:43 UTC 2011
Modified Files: src/sys/sys: radixtree.h Log Message: fix _STANDALONE build To generate a diff of this commit: cvs rdiff -u -r1.1 -r1.2 src/sys/sys/radixtree.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/radixtree.h diff -u src/sys/sys/radixtree.h:1.1 src/sys/sys/radixtree.h:1.2 --- src/sys/sys/radixtree.h:1.1 Tue Feb 22 21:31:15 2011 +++ src/sys/sys/radixtree.h Thu Apr 14 15:34:43 2011 @@ -1,4 +1,4 @@ -/* $NetBSD: radixtree.h,v 1.1 2011/02/22 21:31:15 yamt Exp $ */ +/* $NetBSD: radixtree.h,v 1.2 2011/04/14 15:34:43 yamt Exp $ */ /*- * Copyright (c)2011 YAMAMOTO Takashi, @@ -34,12 +34,12 @@ unsigned int t_height; }; -#if defined(_KERNEL) +#if defined(_KERNEL) || defined(_STANDALONE) #include <sys/types.h> -#else /* defined(_KERNEL) */ +#else /* defined(_KERNEL) || defined(_STANDALONE) */ #include <stdbool.h> #include <stdint.h> -#endif /* defined(_KERNEL) */ +#endif /* defined(_KERNEL) || defined(_STANDALONE) */ /* * subsystem