From dcd4bd61b85b0d01c8144c88157120df86ceddfb Mon Sep 17 00:00:00 2001 From: Mike Gelfand Date: Mon, 23 Jun 2025 22:41:18 +0100 Subject: [PATCH] os: move include guards up to wrap the whole file See: https://gcc.gnu.org/onlinedocs/cppinternals/Guard-Macros.html Signed-off-by: Mike Gelfand --- os/osdep.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/os/osdep.h b/os/osdep.h index ff41f2482..de9ac6ba2 100644 --- a/os/osdep.h +++ b/os/osdep.h @@ -44,13 +44,13 @@ SOFTWARE. ******************************************************************/ +#ifndef _OSDEP_H_ +#define _OSDEP_H_ 1 + #ifdef HAVE_DIX_CONFIG_H #include #endif -#ifndef _OSDEP_H_ -#define _OSDEP_H_ 1 - #include #if defined(XDMCP) || defined(HASXDMAUTH)