From d64cce16a438f9dddd4c0e02bb6ce513f28253d5 Mon Sep 17 00:00:00 2001 From: "Enrico Weigelt, metux IT consult" Date: Thu, 23 Apr 2026 18:37:31 +0200 Subject: [PATCH] include: fix missing includes of Needed for _X_EXPORT. Signed-off-by: Enrico Weigelt, metux IT consult --- Xext/geext_priv.h | 1 + include/damage.h | 2 ++ include/fbrop.h | 2 ++ include/mioverlay.h | 1 + include/misyncfd.h | 1 + include/misyncshm.h | 1 + include/mizerarc.h | 1 + include/vbeModes.h | 1 + include/xf86Opt.h | 1 + include/xisb.h | 1 + 10 files changed, 12 insertions(+) diff --git a/Xext/geext_priv.h b/Xext/geext_priv.h index 95aeb812d8..f60ac77e0e 100644 --- a/Xext/geext_priv.h +++ b/Xext/geext_priv.h @@ -7,6 +7,7 @@ #define _XORG_GEEXT_PRIV_H #include +#include typedef void (*XorgGESwapProcPtr) (xGenericEvent *from, xGenericEvent *to); diff --git a/include/damage.h b/include/damage.h index 29a25d422b..7146e47eca 100644 --- a/include/damage.h +++ b/include/damage.h @@ -22,6 +22,8 @@ #ifndef _DAMAGE_H_ #define _DAMAGE_H_ +#include + typedef struct _damage *DamagePtr; typedef enum _damageReportLevel { diff --git a/include/fbrop.h b/include/fbrop.h index bc12b144ee..7f7d0869eb 100644 --- a/include/fbrop.h +++ b/include/fbrop.h @@ -23,6 +23,8 @@ #ifndef _FBROP_H_ #define _FBROP_H_ +#include + typedef struct _mergeRopBits { FbBits ca1, cx1, ca2, cx2; } FbMergeRopRec, *FbMergeRopPtr; diff --git a/include/mioverlay.h b/include/mioverlay.h index c805a0b19d..02cb7c1f8e 100644 --- a/include/mioverlay.h +++ b/include/mioverlay.h @@ -2,6 +2,7 @@ #define __MIOVERLAY_H #include +#include typedef void (*miOverlayTransFunc) (ScreenPtr, int, BoxPtr); typedef Bool (*miOverlayInOverlayFunc) (WindowPtr); diff --git a/include/misyncfd.h b/include/misyncfd.h index 5a264f9186..d083067079 100644 --- a/include/misyncfd.h +++ b/include/misyncfd.h @@ -24,6 +24,7 @@ #define _MISYNCFD_H_ #include +#include typedef int (*SyncScreenCreateFenceFromFdFunc) (ScreenPtr screen, SyncFence *fence, diff --git a/include/misyncshm.h b/include/misyncshm.h index 09c3de3196..29c6fa821d 100644 --- a/include/misyncshm.h +++ b/include/misyncshm.h @@ -24,6 +24,7 @@ #define _MISYNCSHM_H_ #include +#include extern _X_EXPORT Bool miSyncShmScreenInit(ScreenPtr pScreen); diff --git a/include/mizerarc.h b/include/mizerarc.h index 5d863a6351..31f5596cc5 100644 --- a/include/mizerarc.h +++ b/include/mizerarc.h @@ -28,6 +28,7 @@ in this Software without prior written authorization from The Open Group. #define XSERVER_MIZERARC_H #include +#include typedef struct { int x; diff --git a/include/vbeModes.h b/include/vbeModes.h index 71a47bbfa3..6630a181be 100644 --- a/include/vbeModes.h +++ b/include/vbeModes.h @@ -31,6 +31,7 @@ #define _VBE_MODES_H #include +#include /* * This is intended to be stored in the DisplayModeRec's private area. diff --git a/include/xf86Opt.h b/include/xf86Opt.h index 18cb97c979..b9087e2066 100644 --- a/include/xf86Opt.h +++ b/include/xf86Opt.h @@ -31,6 +31,7 @@ #define _XF86_OPT_H_ #include +#include #include "xf86Optionstr.h" diff --git a/include/xisb.h b/include/xisb.h index c719c964a5..0559196f52 100644 --- a/include/xisb.h +++ b/include/xisb.h @@ -29,6 +29,7 @@ #define _xisb_H_ #include +#include /****************************************************************************** * Definitions