Source-Changes-HG archive

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

[src/trunk]: src/sys/compat/sys include libkern.h or strings.h. should fix i...



details:   https://anonhg.NetBSD.org/src/rev/ea8577049f7f
branches:  trunk
changeset: 449077:ea8577049f7f
user:      mrg <mrg%NetBSD.org@localhost>
date:      Thu Feb 21 08:25:00 2019 +0000

description:
include libkern.h or strings.h.  should fix i386 build issues.

diffstat:

 sys/compat/sys/ipc.h |  8 +++++++-
 1 files changed, 7 insertions(+), 1 deletions(-)

diffs (22 lines):

diff -r d1e974b666e3 -r ea8577049f7f sys/compat/sys/ipc.h
--- a/sys/compat/sys/ipc.h      Thu Feb 21 08:10:22 2019 +0000
+++ b/sys/compat/sys/ipc.h      Thu Feb 21 08:25:00 2019 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: ipc.h,v 1.6 2019/02/21 03:37:19 mrg Exp $      */
+/*     $NetBSD: ipc.h,v 1.7 2019/02/21 08:25:00 mrg Exp $      */
 
 /*
  * Copyright (c) 1990, 1993
@@ -47,6 +47,12 @@
 #ifndef _COMPAT_SYS_IPC_H_
 #define _COMPAT_SYS_IPC_H_
 
+#ifdef _KERNEL
+#include <lib/libkern/libkern.h>
+#else
+#include <string.h>
+#endif
+
 __BEGIN_DECLS
 /*
  * Old IPC permission structure used before NetBSD 1.5.



Home | Main Index | Thread Index | Old Index