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 83a1e38ab5
commit cf4db6cbd6
4 changed files with 4 additions and 12 deletions

View File

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

View File

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

View File

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

View File

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