Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/usermode Pretend we already included the <types.h>
details: https://anonhg.NetBSD.org/src/rev/c23890b7b8a2
branches: trunk
changeset: 323127:c23890b7b8a2
user: reinoud <reinoud%NetBSD.org@localhost>
date: Fri Jun 01 08:04:57 2018 +0000
description:
Pretend we already included the <types.h>
diffstat:
sys/arch/usermode/include/thunk.h | 4 ++--
sys/arch/usermode/usermode/thunk.c | 10 +++++++---
2 files changed, 9 insertions(+), 5 deletions(-)
diffs (58 lines):
diff -r 832b190de4e6 -r c23890b7b8a2 sys/arch/usermode/include/thunk.h
--- a/sys/arch/usermode/include/thunk.h Fri Jun 01 07:26:15 2018 +0000
+++ b/sys/arch/usermode/include/thunk.h Fri Jun 01 08:04:57 2018 +0000
@@ -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 <jmcneill%invisible.ca@localhost>
@@ -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>
diff -r 832b190de4e6 -r c23890b7b8a2 sys/arch/usermode/usermode/thunk.c
--- a/sys/arch/usermode/usermode/thunk.c Fri Jun 01 07:26:15 2018 +0000
+++ b/sys/arch/usermode/usermode/thunk.c Fri Jun 01 08:04:57 2018 +0000
@@ -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 <jmcneill%invisible.ca@localhost>
@@ -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 @@
#include <sys/shm.h>
#include <sys/ioctl.h>
-#define _KMEMUSER
#include <machine/vmparam.h>
#include <net/if.h>
@@ -70,6 +73,7 @@
#include <time.h>
#include <ucontext.h>
#include <unistd.h>
+#include <stdbool.h>
#include "../include/thunk.h"
Home |
Main Index |
Thread Index |
Old Index