Module Name: src
Committed By: riastradh
Date: Sat Dec 18 16:31:40 UTC 2021
Modified Files:
src/sys/sys: atomic.h
Log Message:
CTASSERT requires <lib/libkern/libkern.h>.
To generate a diff of this commit:
cvs rdiff -u -r1.21 -r1.22 src/sys/sys/atomic.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/atomic.h
diff -u src/sys/sys/atomic.h:1.21 src/sys/sys/atomic.h:1.22
--- src/sys/sys/atomic.h:1.21 Tue Dec 3 04:57:38 2019
+++ src/sys/sys/atomic.h Sat Dec 18 16:31:40 2021
@@ -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 @@ __END_DECLS
#include <sys/cdefs.h>
+#include <lib/libkern/libkern.h>
+
#ifdef _LP64
#define __HAVE_ATOMIC64_LOADSTORE 1
#define __ATOMIC_SIZE_MAX 8