include: drop using HAVE_DIX_CONFIG_H

This symbol is always defined, and the header is always present,
so no need to check for it.

Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
This commit is contained in:
Enrico Weigelt, metux IT consult 2025-07-04 16:54:44 +02:00
parent 39165ce962
commit b1e97a974d
5 changed files with 6 additions and 17 deletions

View File

@ -26,9 +26,7 @@
#ifndef CLIENT_H #ifndef CLIENT_H
#define CLIENT_H #define CLIENT_H
#ifdef HAVE_DIX_CONFIG_H
#include <dix-config.h> #include <dix-config.h>
#endif /* HAVE_DIX_CONFIG_H */
struct _Client; struct _Client;
typedef struct _ClientId *ClientIdPtr; typedef struct _ClientId *ClientIdPtr;

View File

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

View File

@ -21,14 +21,11 @@
* DEALINGS IN THE SOFTWARE. * DEALINGS IN THE SOFTWARE.
* *
*/ */
#ifdef HAVE_DIX_CONFIG_H
#include "dix-config.h"
#endif
#ifndef INPUTUTILS_H #ifndef INPUTUTILS_H
#define INPUTUTILS_H #define INPUTUTILS_H
#include "dix-config.h"
#include "input.h" #include "input.h"
#include "eventstr.h" #include "eventstr.h"
#include <X11/extensions/XI2proto.h> #include <X11/extensions/XI2proto.h>

View File

@ -24,9 +24,7 @@
#ifndef XORG_PROBES_H #ifndef XORG_PROBES_H
#define XORG_PROBES_H #define XORG_PROBES_H
#ifdef HAVE_DIX_CONFIG_H
#include <dix-config.h> #include <dix-config.h>
#endif
/* definitions needed to include Dtrace probes in a source file */ /* definitions needed to include Dtrace probes in a source file */

View File

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