Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/sys sys/rwlock.h: Make this more self-contained for bool.
details: https://anonhg.NetBSD.org/src/rev/776998e7afb7
branches: trunk
changeset: 377376:776998e7afb7
user: riastradh <riastradh%NetBSD.org@localhost>
date: Sun Jul 09 16:32:28 2023 +0000
description:
sys/rwlock.h: Make this more self-contained for bool.
XXX pullup-10
diffstat:
sys/sys/rwlock.h | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diffs (17 lines):
diff -r 4c7d080b92b8 -r 776998e7afb7 sys/sys/rwlock.h
--- a/sys/sys/rwlock.h Sun Jul 09 12:15:07 2023 +0000
+++ b/sys/sys/rwlock.h Sun Jul 09 16:32:28 2023 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: rwlock.h,v 1.17 2022/10/26 23:22:22 riastradh Exp $ */
+/* $NetBSD: rwlock.h,v 1.18 2023/07/09 16:32:28 riastradh Exp $ */
/*-
* Copyright (c) 2002, 2006, 2007, 2008, 2019, 2020 The NetBSD Foundation, Inc.
@@ -58,6 +58,7 @@ typedef enum krw_t {
typedef struct krwlock krwlock_t;
#ifdef __RWLOCK_PRIVATE
+#include <sys/stdbool.h>
/*
* Bits in the owner field of the lock that indicate lock state. If the
* WRITE_LOCKED bit is clear, then the owner field is actually a count of
Home |
Main Index |
Thread Index |
Old Index