summaryrefslogtreecommitdiff
path: root/sys/modules
diff options
context:
space:
mode:
authormrg <mrg@NetBSD.org>2020-04-30 07:07:22 +0000
committermrg <mrg@NetBSD.org>2020-04-30 07:07:22 +0000
commitbe0e457327efdc32ecdf79a4eb46a4d8425ab267 (patch)
treed1f1ae699c7de34c3ba7640302211ebf3d3cded6 /sys/modules
parenta82f7863aecd000d93ebe1191d5b0aef821d8935 (diff)
include sys/lwp.h and fix the build.
Diffstat (limited to 'sys/modules')
-rw-r--r--sys/modules/examples/pollpal/pollpal.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/sys/modules/examples/pollpal/pollpal.c b/sys/modules/examples/pollpal/pollpal.c
index 9eb7a0bf7a6..63dd5737527 100644
--- a/sys/modules/examples/pollpal/pollpal.c
+++ b/sys/modules/examples/pollpal/pollpal.c
@@ -1,4 +1,4 @@
-/* $NetBSD: pollpal.c,v 1.1 2020/04/30 00:48:10 christos Exp $ */
+/* $NetBSD: pollpal.c,v 1.2 2020/04/30 07:07:22 mrg Exp $ */
/*-
* Copyright (c) 2020 The NetBSD Foundation, Inc.
@@ -27,12 +27,13 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: pollpal.c,v 1.1 2020/04/30 00:48:10 christos Exp $");
+__KERNEL_RCSID(0, "$NetBSD: pollpal.c,v 1.2 2020/04/30 07:07:22 mrg Exp $");
#include <sys/module.h>
#include <sys/param.h>
#include <sys/kernel.h>
#include <sys/systm.h>
+#include <sys/lwp.h>
#include <sys/condvar.h>
#include <sys/conf.h>