From 84407af615f962620191b76bc93ffb6818bc6cab Mon Sep 17 00:00:00 2001 From: "Enrico Weigelt, metux IT consult" Date: Tue, 27 Feb 2024 10:44:06 +0100 Subject: [PATCH] xfree86: x86emu: fix missing Xfuncproto.h include in debug.h The header uses macros from Xfuncproto.h - right now it just works by pure accident since consumers of this header indirectly include Xfuncproto.h by totally different roads. This is a fragile programming style that deserved to be cleand up. Signed-off-by: Enrico Weigelt, metux IT consult Part-of: --- hw/xfree86/x86emu/x86emu/debug.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/hw/xfree86/x86emu/x86emu/debug.h b/hw/xfree86/x86emu/x86emu/debug.h index c32743c6a..98d85e9b9 100644 --- a/hw/xfree86/x86emu/x86emu/debug.h +++ b/hw/xfree86/x86emu/x86emu/debug.h @@ -39,6 +39,8 @@ #ifndef __X86EMU_DEBUG_H #define __X86EMU_DEBUG_H +#include + /*---------------------- Macros and type definitions ----------------------*/ /* checks to be enabled for "runtime" */