Source-Changes-HG archive

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

[src/trunk]: src/sys/miscfs/procfs Add missing include of <sys/atomic.h> to f...



details:   https://anonhg.NetBSD.org/src/rev/5ddde929411e
branches:  trunk
changeset: 971290:5ddde929411e
user:      martin <martin%NetBSD.org@localhost>
date:      Mon Apr 20 13:30:34 2020 +0000

description:
Add missing include of <sys/atomic.h> to fix the build

diffstat:

 sys/miscfs/procfs/procfs_linux.c |  5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diffs (22 lines):

diff -r c12f4f90606b -r 5ddde929411e sys/miscfs/procfs/procfs_linux.c
--- a/sys/miscfs/procfs/procfs_linux.c  Mon Apr 20 13:04:10 2020 +0000
+++ b/sys/miscfs/procfs/procfs_linux.c  Mon Apr 20 13:30:34 2020 +0000
@@ -1,4 +1,4 @@
-/*      $NetBSD: procfs_linux.c,v 1.81 2020/04/19 20:31:59 thorpej Exp $      */
+/*      $NetBSD: procfs_linux.c,v 1.82 2020/04/20 13:30:34 martin Exp $      */
 
 /*
  * Copyright (c) 2001 Wasabi Systems, Inc.
@@ -36,10 +36,11 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: procfs_linux.c,v 1.81 2020/04/19 20:31:59 thorpej Exp $");
+__KERNEL_RCSID(0, "$NetBSD: procfs_linux.c,v 1.82 2020/04/20 13:30:34 martin Exp $");
 
 #include <sys/param.h>
 #include <sys/systm.h>
+#include <sys/atomic.h>
 #include <sys/time.h>
 #include <sys/cpu.h>
 #include <sys/kernel.h>



Home | Main Index | Thread Index | Old Index