From 3f0bd17d1db0c0e0fd2c01321ad25501bbd1d729 Mon Sep 17 00:00:00 2001 From: Mike Gelfand Date: Mon, 23 Jun 2025 22:41:46 +0100 Subject: [PATCH] randr: move include guards up to wrap the whole file See: https://gcc.gnu.org/onlinedocs/cppinternals/Guard-Macros.html Signed-off-by: Mike Gelfand --- randr/randrstr.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/randr/randrstr.h b/randr/randrstr.h index 658edc453..1d22e0431 100644 --- a/randr/randrstr.h +++ b/randr/randrstr.h @@ -26,13 +26,13 @@ * Keith Packard, Intel Corporation */ +#ifndef _RANDRSTR_H_ +#define _RANDRSTR_H_ + #ifdef HAVE_DIX_CONFIG_H #include #endif -#ifndef _RANDRSTR_H_ -#define _RANDRSTR_H_ - #include #include #include "misc.h"