Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/kern Make sure to #include to get required definitions.
details: https://anonhg.NetBSD.org/src/rev/31c71b67ab41
branches: trunk
changeset: 1005550:31c71b67ab41
user: pgoyette <pgoyette%NetBSD.org@localhost>
date: Thu Dec 12 16:36:25 2019 +0000
description:
Make sure to #include to get required definitions.
Should fix the build break reported by martin@
diffstat:
sys/kern/kern_module.c | 5 +++--
1 files changed, 3 insertions(+), 2 deletions(-)
diffs (26 lines):
diff -r 740ba6381307 -r 31c71b67ab41 sys/kern/kern_module.c
--- a/sys/kern/kern_module.c Thu Dec 12 16:28:24 2019 +0000
+++ b/sys/kern/kern_module.c Thu Dec 12 16:36:25 2019 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: kern_module.c,v 1.139 2019/12/12 02:15:43 pgoyette Exp $ */
+/* $NetBSD: kern_module.c,v 1.140 2019/12/12 16:36:25 pgoyette Exp $ */
/*-
* Copyright (c) 2008 The NetBSD Foundation, Inc.
@@ -34,7 +34,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: kern_module.c,v 1.139 2019/12/12 02:15:43 pgoyette Exp $");
+__KERNEL_RCSID(0, "$NetBSD: kern_module.c,v 1.140 2019/12/12 16:36:25 pgoyette Exp $");
#define _MODULE_INTERNAL
@@ -51,6 +51,7 @@
#include <sys/kobj.h>
#include <sys/kmem.h>
#include <sys/module.h>
+#include <sys/module_hook.h>
#include <sys/kthread.h>
#include <sys/sysctl.h>
#include <sys/lock.h>
Home |
Main Index |
Thread Index |
Old Index