Module Name: src Committed By: reinoud Date: Fri Jun 1 08:04:57 UTC 2018
Modified Files: src/sys/arch/usermode/include: thunk.h src/sys/arch/usermode/usermode: thunk.c Log Message: Pretend we already included the <types.h> To generate a diff of this commit: cvs rdiff -u -r1.63 -r1.64 src/sys/arch/usermode/include/thunk.h cvs rdiff -u -r1.88 -r1.89 src/sys/arch/usermode/usermode/thunk.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/sys/arch/usermode/include/thunk.h diff -u src/sys/arch/usermode/include/thunk.h:1.63 src/sys/arch/usermode/include/thunk.h:1.64 --- src/sys/arch/usermode/include/thunk.h:1.63 Fri May 18 20:24:57 2018 +++ src/sys/arch/usermode/include/thunk.h Fri Jun 1 08:04:57 2018 @@ -1,4 +1,4 @@ -/* $NetBSD: thunk.h,v 1.63 2018/05/18 20:24:57 reinoud Exp $ */ +/* $NetBSD: thunk.h,v 1.64 2018/06/01 08:04:57 reinoud Exp $ */ /*- * Copyright (c) 2011 Jared D. McNeill <jmcne...@invisible.ca> @@ -29,7 +29,7 @@ #ifndef _ARCH_USERMODE_INCLUDE_THUNK_H #define _ARCH_USERMODE_INCLUDE_THUNK_H -#include "types.h" +#include <sys/types.h> #include <sys/time.h> #include <sys/stat.h> #include <sys/fcntl.h> Index: src/sys/arch/usermode/usermode/thunk.c diff -u src/sys/arch/usermode/usermode/thunk.c:1.88 src/sys/arch/usermode/usermode/thunk.c:1.89 --- src/sys/arch/usermode/usermode/thunk.c:1.88 Fri May 18 05:51:23 2018 +++ src/sys/arch/usermode/usermode/thunk.c Fri Jun 1 08:04:57 2018 @@ -1,4 +1,4 @@ -/* $NetBSD: thunk.c,v 1.88 2018/05/18 05:51:23 reinoud Exp $ */ +/* $NetBSD: thunk.c,v 1.89 2018/06/01 08:04:57 reinoud Exp $ */ /*- * Copyright (c) 2011 Jared D. McNeill <jmcne...@invisible.ca> @@ -28,9 +28,13 @@ #include <sys/cdefs.h> #ifdef __NetBSD__ -__RCSID("$NetBSD: thunk.c,v 1.88 2018/05/18 05:51:23 reinoud Exp $"); +__RCSID("$NetBSD: thunk.c,v 1.89 2018/06/01 08:04:57 reinoud Exp $"); #endif +#define _KMEMUSER +#define _X86_64_MACHTYPES_H_ +#define _I386_MACHTYPES_H_ + #include "../include/types.h" #include <sys/mman.h> #include <stdarg.h> @@ -42,7 +46,6 @@ __RCSID("$NetBSD: thunk.c,v 1.88 2018/05 #include <sys/shm.h> #include <sys/ioctl.h> -#define _KMEMUSER #include <machine/vmparam.h> #include <net/if.h> @@ -70,6 +73,7 @@ __RCSID("$NetBSD: thunk.c,v 1.88 2018/05 #include <time.h> #include <ucontext.h> #include <unistd.h> +#include <stdbool.h> #include "../include/thunk.h"