From 97582ac0ce4a6ba11cbb7a19c42f41fd124f1b1d Mon Sep 17 00:00:00 2001 From: Mike Gelfand Date: Mon, 23 Jun 2025 22:46:15 +0100 Subject: [PATCH] xkb: move include guards up to wrap the whole file See: https://gcc.gnu.org/onlinedocs/cppinternals/Guard-Macros.html Signed-off-by: Mike Gelfand --- xkb/xkbDflts.h | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/xkb/xkbDflts.h b/xkb/xkbDflts.h index b02dff9de..e05408167 100644 --- a/xkb/xkbDflts.h +++ b/xkb/xkbDflts.h @@ -1,12 +1,13 @@ /* This file generated automatically by xkbcomp */ /* DO NOT EDIT */ -#ifdef HAVE_DIX_CONFIG_H -#include -#endif #ifndef DEFAULT_H #define DEFAULT_H 1 +#ifdef HAVE_DIX_CONFIG_H +#include +#endif + #define GET_ATOM(d,s) MakeAtom(s,strlen(s),1) #define DPYTYPE char * #define NUM_KEYS 1