include: move include guards up to wrap the whole file

See: https://gcc.gnu.org/onlinedocs/cppinternals/Guard-Macros.html
Signed-off-by: Mike Gelfand <mikedld@mikedld.com>
This commit is contained in:
Mike Gelfand 2025-06-23 22:37:26 +01:00
parent 12b327c0da
commit 2906a9406a
No known key found for this signature in database
GPG Key ID: CC4DBBE3299B16F8
3 changed files with 9 additions and 9 deletions

View File

@ -1,10 +1,10 @@
#ifndef _DISMODEPROC_H_
#define _DISMODEPROC_H_
#ifdef HAVE_DIX_CONFIG_H
#include <dix-config.h>
#endif
#ifndef _DISMODEPROC_H_
#define _DISMODEPROC_H_
#include "scrnintstr.h"
#define MAXCLOCKS 128

View File

@ -22,13 +22,13 @@
*
*/
#ifndef INPUTUTILS_H
#define INPUTUTILS_H
#ifdef HAVE_DIX_CONFIG_H
#include "dix-config.h"
#endif
#ifndef INPUTUTILS_H
#define INPUTUTILS_H
#include "input.h"
#include "eventstr.h"
#include <X11/extensions/XI2proto.h>

View File

@ -1,10 +1,10 @@
#ifndef _VIDMODEPROC_H_
#define _VIDMODEPROC_H_
#ifdef HAVE_DIX_CONFIG_H
#include <dix-config.h>
#endif
#ifndef _VIDMODEPROC_H_
#define _VIDMODEPROC_H_
#include "displaymode.h"
typedef enum {