Source-Changes-HG archive

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

[src/trunk]: src/sys/sys expose more for _KMEMUSER



details:   https://anonhg.NetBSD.org/src/rev/fd1cfe260dfa
branches:  trunk
changeset: 820731:fd1cfe260dfa
user:      christos <christos%NetBSD.org@localhost>
date:      Sat Jan 14 01:02:08 2017 +0000

description:
expose more for _KMEMUSER

diffstat:

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

diffs (27 lines):

diff -r 12617ee014da -r fd1cfe260dfa sys/sys/types.h
--- a/sys/sys/types.h   Sat Jan 14 01:01:48 2017 +0000
+++ b/sys/sys/types.h   Sat Jan 14 01:02:08 2017 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: types.h,v 1.97 2016/04/03 02:08:42 christos Exp $      */
+/*     $NetBSD: types.h,v 1.98 2017/01/14 01:02:08 christos Exp $      */
 
 /*-
  * Copyright (c) 1982, 1986, 1991, 1993, 1994
@@ -217,7 +217,7 @@
 
 #endif /* _KERNEL || _STANDALONE */
 
-#if defined(_KERNEL) || defined(_LIBC)
+#if defined(_KERNEL) || defined(_LIBC) || defined(_KMEMUSER)
 /*
  * semctl(2)'s argument structure.  This is here for the benefit of
  * <sys/syscallargs.h>.  It is not in the user's namespace in SUSv2.
@@ -229,7 +229,7 @@
        unsigned short  *array;         /* array for GETALL & SETALL */
 };
 #include <sys/stdint.h>
-#endif /* _KERNEL || _LIBC */
+#endif /* _KERNEL || _LIBC || _KMEMUSER */
 
 /*
  * These belong in unistd.h, but are placed here too to ensure that



Home | Main Index | Thread Index | Old Index