Inclide sys/atomic for atomic_store_relaxed

This commit is contained in:
skrll 2019-12-13 07:59:36 +00:00
parent ed7b077185
commit 0545d1e993

View File

@ -1,4 +1,4 @@
/* $NetBSD: kern_module_hook.c,v 1.1 2019/12/12 22:55:20 pgoyette Exp $ */
/* $NetBSD: kern_module_hook.c,v 1.2 2019/12/13 07:59:36 skrll Exp $ */
/*-
* Copyright (c) 2019 The NetBSD Foundation, Inc.
@ -31,9 +31,10 @@
*/
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: kern_module_hook.c,v 1.1 2019/12/12 22:55:20 pgoyette Exp $");
__KERNEL_RCSID(0, "$NetBSD: kern_module_hook.c,v 1.2 2019/12/13 07:59:36 skrll Exp $");
#include <sys/param.h>
#include <sys/atomic.h>
#include <sys/module_hook.h>
#include <sys/mutex.h>
#include <sys/condvar.h>