Module Name: src Committed By: christos Date: Sat Jan 14 01:02:08 UTC 2017
Modified Files: src/sys/sys: types.h Log Message: expose more for _KMEMUSER To generate a diff of this commit: cvs rdiff -u -r1.97 -r1.98 src/sys/sys/types.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/types.h diff -u src/sys/sys/types.h:1.97 src/sys/sys/types.h:1.98 --- src/sys/sys/types.h:1.97 Sat Apr 2 22:08:42 2016 +++ src/sys/sys/types.h Fri Jan 13 20:02:08 2017 @@ -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 @@ typedef int boolean_t; #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 @@ union __semun { 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