Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/sys Explicitly include <sys/mutex.h> for kmutex_t.



details:   https://anonhg.NetBSD.org/src/rev/1f70581a3768
branches:  trunk
changeset: 377437:1f70581a3768
user:      martin <martin%NetBSD.org@localhost>
date:      Tue Jul 11 14:57:21 2023 +0000

description:
Explicitly include <sys/mutex.h> for kmutex_t.

diffstat:

 sys/sys/lua.h |  3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diffs (17 lines):

diff -r 4cf8be3f31cc -r 1f70581a3768 sys/sys/lua.h
--- a/sys/sys/lua.h     Tue Jul 11 13:10:08 2023 +0000
+++ b/sys/sys/lua.h     Tue Jul 11 14:57:21 2023 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: lua.h,v 1.8 2015/09/06 06:01:02 dholland Exp $ */
+/*     $NetBSD: lua.h,v 1.9 2023/07/11 14:57:21 martin Exp $ */
 
 /*
  * Copyright (c) 2014 by Lourival Vieira Neto <lneto%NetBSD.org@localhost>.
@@ -39,6 +39,7 @@
 
 #ifdef _KERNEL
 #include <sys/condvar.h>
+#include <sys/mutex.h>
 #endif
 
 #define MAX_LUA_NAME           16



Home | Main Index | Thread Index | Old Index