From 2029728ed6d2a88350be945a892d325aebc2eb8d Mon Sep 17 00:00:00 2001
From: Flavio Cruz <flaviocruz@gmail.com>
Date: Tue, 17 Jan 2023 23:56:04 -0500
Subject: Include mig generated headers to avoid warnings with
 -Wmissing-prototypes.

This also reverts 566c227636481b246d928772ebeaacbc7c37145b and
963b1794d7117064cee8ab5638b329db51dad854
Message-Id: <Y8d75KSqNL4FFInm@mercury.tail36e24.ts.net>
---
 kern/thread.c | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

(limited to 'kern/thread.c')

diff --git a/kern/thread.c b/kern/thread.c
index db290f7e..bc155b45 100644
--- a/kern/thread.c
+++ b/kern/thread.c
@@ -45,8 +45,8 @@
 #include <kern/eventcount.h>
 #include <kern/ipc_mig.h>
 #include <kern/ipc_tt.h>
-#include <kern/mach_debug.h>
-#include <kern/mach_host.h>
+#include <kern/mach_debug.server.h>
+#include <kern/mach_host.server.h>
 #include <kern/processor.h>
 #include <kern/queue.h>
 #include <kern/sched.h>
@@ -63,7 +63,7 @@
 #include <ipc/ipc_kmsg.h>
 #include <ipc/ipc_port.h>
 #include <ipc/mach_msg.h>
-#include <ipc/mach_port.h>
+#include <ipc/mach_port.server.h>
 #include <machine/machspl.h>		/* for splsched */
 #include <machine/pcb.h>
 #include <machine/thread.h>		/* for MACHINE_STACK */
-- 
cgit v1.2.3