Source-Changes-HG archive

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

[src/trunk]: src/sys/sys Fix libkvm build.



details:   https://anonhg.NetBSD.org/src/rev/b1fa345e0ed1
branches:  trunk
changeset: 454187:b1fa345e0ed1
user:      mlelstv <mlelstv%NetBSD.org@localhost>
date:      Sun Sep 08 11:53:23 2019 +0000

description:
Fix libkvm build.

diffstat:

 sys/sys/signalvar.h |  6 +++++-
 1 files changed, 5 insertions(+), 1 deletions(-)

diffs (20 lines):

diff -r be2b1908465c -r b1fa345e0ed1 sys/sys/signalvar.h
--- a/sys/sys/signalvar.h       Sun Sep 08 11:34:56 2019 +0000
+++ b/sys/sys/signalvar.h       Sun Sep 08 11:53:23 2019 +0000
@@ -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.



Home | Main Index | Thread Index | Old Index