From 3ab402d4e98418c2ca2cfaeeae3c98213a92b634 Mon Sep 17 00:00:00 2001 From: "Enrico Weigelt, metux IT consult" Date: Tue, 8 Jul 2025 19:53:18 +0200 Subject: [PATCH] test: xi2: drop unused check for HAVE_DIX_CONFIG_H The symbol is always defined, 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) \ { \