From 8ba1c586a230e952a765608a814205b3e61d2e9f Mon Sep 17 00:00:00 2001 From: Mike Gelfand Date: Mon, 23 Jun 2025 22:20:59 +0100 Subject: [PATCH] dbe: move include guards up to wrap the whole file See: https://gcc.gnu.org/onlinedocs/cppinternals/Guard-Macros.html Signed-off-by: Mike Gelfand --- dbe/midbe.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/dbe/midbe.h b/dbe/midbe.h index 019375756..1775df181 100644 --- a/dbe/midbe.h +++ b/dbe/midbe.h @@ -29,13 +29,13 @@ * *****************************************************************************/ +#ifndef MIDBE_H +#define MIDBE_H + #ifdef HAVE_DIX_CONFIG_H #include #endif -#ifndef MIDBE_H -#define MIDBE_H - #include "dix/screen_hooks_priv.h" #include "include/privates.h"