Module Name: src
Committed By: yamt
Date: Thu Apr 14 15:31:20 UTC 2011
Modified Files:
src/sys/sys: rpst.h
Log Message:
fix _STANDALONE build
To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 src/sys/sys/rpst.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/rpst.h
diff -u src/sys/sys/rpst.h:1.2 src/sys/sys/rpst.h:1.3
--- src/sys/sys/rpst.h:1.2 Mon May 25 14:54:06 2009
+++ src/sys/sys/rpst.h Thu Apr 14 15:31:20 2011
@@ -1,4 +1,4 @@
-/* $NetBSD: rpst.h,v 1.2 2009/05/25 14:54:06 yamt Exp $ */
+/* $NetBSD: rpst.h,v 1.3 2011/04/14 15:31:20 yamt Exp $ */
/*-
* Copyright (c)2009 YAMAMOTO Takashi,
@@ -29,11 +29,11 @@
#if !defined(_SYS_RPST_H_)
#define _SYS_RPST_H_
-#if defined(_KERNEL)
+#if defined(_KERNEL) || defined(_STANDALONE)
#include <sys/types.h>
-#else /* defined(_KERNEL) */
+#else /* defined(_KERNEL) || defined(_STANDALONE) */
#include <stdint.h>
-#endif /* defined(_KERNEL) */
+#endif /* defined(_KERNEL) || defined(_STANDALONE) */
struct rpst_tree {
struct rpst_node *t_root;