Module Name: src
Committed By: mlelstv
Date: Sun Sep 8 11:53:23 UTC 2019
Modified Files:
src/sys/sys: signalvar.h
Log Message:
Fix libkvm build.
To generate a diff of this commit:
cvs rdiff -u -r1.94 -r1.95 src/sys/sys/signalvar.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/signalvar.h
diff -u src/sys/sys/signalvar.h:1.94 src/sys/sys/signalvar.h:1.95
--- src/sys/sys/signalvar.h:1.94 Sun Sep 8 07:00:20 2019
+++ src/sys/sys/signalvar.h Sun Sep 8 11:53:23 2019
@@ -1,4 +1,4 @@
-/* $NetBSD: signalvar.h,v 1.94 2019/09/08 07:00:20 maxv Exp $ */
+/* $NetBSD: signalvar.h,v 1.95 2019/09/08 11:53:23 mlelstv Exp $ */
/*
* Copyright (c) 1991, 1993
@@ -39,6 +39,10 @@
#include <sys/mutex.h>
#include <sys/stdbool.h>
+#ifndef _KERNEL
+#include <string.h> /* Required for memset(3) and memcpy(3) prototypes */
+#endif /* _KERNEL */
+
/*
* Kernel signal definitions and data structures,
* not exported to user programs.