Module Name: src
Committed By: martin
Date: Tue Jul 25 04:36:33 UTC 2017
Modified Files:
src/sys/sys: extent.h
Log Message:
Stupid old C versions do not know "bool" - include stdbool.h to the
rescue.
To generate a diff of this commit:
cvs rdiff -u -r1.21 -r1.22 src/sys/sys/extent.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/extent.h
diff -u src/sys/sys/extent.h:1.21 src/sys/sys/extent.h:1.22
--- src/sys/sys/extent.h:1.21 Mon Jul 24 19:56:07 2017
+++ src/sys/sys/extent.h Tue Jul 25 04:36:33 2017
@@ -1,4 +1,4 @@
-/* $NetBSD: extent.h,v 1.21 2017/07/24 19:56:07 skrll Exp $ */
+/* $NetBSD: extent.h,v 1.22 2017/07/25 04:36:33 martin Exp $ */
/*-
* Copyright (c) 1996, 1998 The NetBSD Foundation, Inc.
@@ -36,6 +36,10 @@
#include <sys/mutex.h>
#include <sys/condvar.h>
+#ifndef _KERNEL
+#include <stdbool.h>
+#endif
+
struct extent_region {
LIST_ENTRY(extent_region) er_link; /* link in region list */
u_long er_start; /* start of region */