From 874cafe097d9b18fd16b9e07748a33a4d4a820a7 Mon Sep 17 00:00:00 2001 From: "Enrico Weigelt, metux IT consult" Date: Fri, 4 Jul 2025 16:55:33 +0200 Subject: [PATCH] test: drop using HAVE_DIX_CONFIG_H This symbol is always defined, and the header is always present, so no need to check for it. Signed-off-by: Enrico Weigelt, metux IT consult --- test/xi2/protocol-common.h | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/test/xi2/protocol-common.h b/test/xi2/protocol-common.h index 88c0bc864..0a533652c 100644 --- a/test/xi2/protocol-common.h +++ b/test/xi2/protocol-common.h @@ -20,10 +20,10 @@ * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER * DEALINGS IN THE SOFTWARE. */ +#ifndef PROTOCOL_COMMON_H +#define PROTOCOL_COMMON_H -#ifdef HAVE_DIX_CONFIG_H #include -#endif #include "dix/resource_priv.h" @@ -34,9 +34,6 @@ #include "tests.h" -#ifndef PROTOCOL_COMMON_H -#define PROTOCOL_COMMON_H - /* Check default values in a reply */ #define reply_check_defaults(rep, len, type) \ { \