From b55d726a7b9dfce2cdc770c7f3c3e377f00cbb61 Mon Sep 17 00:00:00 2001 From: "Enrico Weigelt, metux IT consult" Date: Tue, 18 Feb 2025 20:03:35 +0100 Subject: [PATCH] present: need to include dix-config.h dix-config.h always needs to be included first, otherwise things can get messed up in really obscure ways, eg. certain types silently changing in size and causing mysterious crashes. Signed-off-by: Enrico Weigelt, metux IT consult Part-of: --- present/present.c | 1 + present/present_event.c | 1 + present/present_execute.c | 1 + present/present_fake.c | 1 + present/present_fence.c | 1 + present/present_scmd.c | 1 + present/present_screen.c | 1 + present/present_vblank.c | 1 + 8 files changed, 8 insertions(+) diff --git a/present/present.c b/present/present.c index 7e8c7506b..336816e27 100644 --- a/present/present.c +++ b/present/present.c @@ -19,6 +19,7 @@ * TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE * OF THIS SOFTWARE. */ +#include #include "present_priv.h" #include diff --git a/present/present_event.c b/present/present_event.c index b35609b23..adc8a484e 100644 --- a/present/present_event.c +++ b/present/present_event.c @@ -19,6 +19,7 @@ * TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE * OF THIS SOFTWARE. */ +#include #include "present_priv.h" diff --git a/present/present_execute.c b/present/present_execute.c index 5253344a1..449ea5c53 100644 --- a/present/present_execute.c +++ b/present/present_execute.c @@ -19,6 +19,7 @@ * TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE * OF THIS SOFTWARE. */ +#include #include "present_priv.h" #include diff --git a/present/present_fake.c b/present/present_fake.c index f4a3bd887..3ce7295aa 100644 --- a/present/present_fake.c +++ b/present/present_fake.c @@ -19,6 +19,7 @@ * TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE * OF THIS SOFTWARE. */ +#include #include "present_priv.h" #include "list.h" diff --git a/present/present_fence.c b/present/present_fence.c index aca04a580..821cd6098 100644 --- a/present/present_fence.c +++ b/present/present_fence.c @@ -19,6 +19,7 @@ * TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE * OF THIS SOFTWARE. */ +#include #include "present_priv.h" #include diff --git a/present/present_scmd.c b/present/present_scmd.c index 5f05f8fc9..b60e1b143 100644 --- a/present/present_scmd.c +++ b/present/present_scmd.c @@ -19,6 +19,7 @@ * TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE * OF THIS SOFTWARE. */ +#include #include "present_priv.h" #include diff --git a/present/present_screen.c b/present/present_screen.c index e47cbc6c0..ae56f9032 100644 --- a/present/present_screen.c +++ b/present/present_screen.c @@ -19,6 +19,7 @@ * TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE * OF THIS SOFTWARE. */ +#include #include "present_priv.h" diff --git a/present/present_vblank.c b/present/present_vblank.c index 1c0461e84..72a8b2e3e 100644 --- a/present/present_vblank.c +++ b/present/present_vblank.c @@ -19,6 +19,7 @@ * TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE * OF THIS SOFTWARE. */ +#include #include "present_priv.h" #include