From 6cd503f3c514eb11b18101712a74b390817f911b Mon Sep 17 00:00:00 2001 From: "Enrico Weigelt, metux IT consult" Date: Tue, 22 Apr 2025 20:04:24 +0200 Subject: [PATCH] dri: fix missing include of dix-config.h This header needs to be included first, otherwise things can easily get really messed up. The current code only works by accident, because some other header already including it early enough - but a subtle change in include order can easy break it. Thus, always make sure the header is really included first. Signed-off-by: Enrico Weigelt, metux IT consult --- dri3/dri3_screen.c | 1 + 1 file changed, 1 insertion(+) diff --git a/dri3/dri3_screen.c b/dri3/dri3_screen.c index ec8d025c4..34cd7c2c9 100644 --- a/dri3/dri3_screen.c +++ b/dri3/dri3_screen.c @@ -19,6 +19,7 @@ * TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE * OF THIS SOFTWARE. */ +#include #include "dri3_priv.h" #include