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 <info@metux.net> Part-of: <https://gitlab.freedesktop.org/xorg/xserver/-/merge_requests/1331>
This commit is contained in:
parent
045c9185f8
commit
84407af615
|
@ -39,6 +39,8 @@
|
||||||
#ifndef __X86EMU_DEBUG_H
|
#ifndef __X86EMU_DEBUG_H
|
||||||
#define __X86EMU_DEBUG_H
|
#define __X86EMU_DEBUG_H
|
||||||
|
|
||||||
|
#include <X11/Xfuncproto.h>
|
||||||
|
|
||||||
/*---------------------- Macros and type definitions ----------------------*/
|
/*---------------------- Macros and type definitions ----------------------*/
|
||||||
|
|
||||||
/* checks to be enabled for "runtime" */
|
/* checks to be enabled for "runtime" */
|
||||||
|
|
Loading…
Reference in New Issue