From 86b392979e2246a65d87bb0903bb537349fabf0b Mon Sep 17 00:00:00 2001 From: "Enrico Weigelt, metux IT consult" Date: Fri, 4 Jul 2025 16:36:41 +0200 Subject: [PATCH] dix: don't include dix-config.h from randrstr.h This header needs to be included in all sources at the very top anyways, so no need to do it in other headers, too. Signed-off-by: Enrico Weigelt, metux IT consult --- dix/generate-atoms | 2 -- randr/randrstr.h | 5 ----- 2 files changed, 7 deletions(-) diff --git a/dix/generate-atoms b/dix/generate-atoms index f1c2a79ba..d4dc2cd23 100755 --- a/dix/generate-atoms +++ b/dix/generate-atoms @@ -19,9 +19,7 @@ cat > "$OUTPUT" << __END__ * Do not change! Changing this file implies a protocol change! */ -#ifdef HAVE_DIX_CONFIG_H #include -#endif #include #include diff --git a/randr/randrstr.h b/randr/randrstr.h index 658edc453..efd7f6a94 100644 --- a/randr/randrstr.h +++ b/randr/randrstr.h @@ -25,11 +25,6 @@ * Author: Jim Gettys, Hewlett-Packard Company, Inc. * Keith Packard, Intel Corporation */ - -#ifdef HAVE_DIX_CONFIG_H -#include -#endif - #ifndef _RANDRSTR_H_ #define _RANDRSTR_H_