Source-Changes-HG archive

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

[src/trunk]: src/sys/sys CTASSERT requires <lib/libkern/libkern.h>.



details:   https://anonhg.NetBSD.org/src/rev/d91ee8fb0ffc
branches:  trunk
changeset: 1027746:d91ee8fb0ffc
user:      riastradh <riastradh%NetBSD.org@localhost>
date:      Sat Dec 18 16:31:40 2021 +0000

description:
CTASSERT requires <lib/libkern/libkern.h>.

diffstat:

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

diffs (18 lines):

diff -r 61f55c6299c1 -r d91ee8fb0ffc sys/sys/atomic.h
--- a/sys/sys/atomic.h  Sat Dec 18 16:31:06 2021 +0000
+++ b/sys/sys/atomic.h  Sat Dec 18 16:31:40 2021 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: atomic.h,v 1.21 2019/12/03 04:57:38 riastradh Exp $    */
+/*     $NetBSD: atomic.h,v 1.22 2021/12/18 16:31:40 riastradh Exp $    */
 
 /*-
  * Copyright (c) 2007, 2008 The NetBSD Foundation, Inc.
@@ -391,6 +391,8 @@
 
 #include <sys/cdefs.h>
 
+#include <lib/libkern/libkern.h>
+
 #ifdef _LP64
 #define        __HAVE_ATOMIC64_LOADSTORE       1
 #define        __ATOMIC_SIZE_MAX               8



Home | Main Index | Thread Index | Old Index