mirror of
https://github.com/X11Libre/xserver.git
synced 2026-04-14 17:18:09 +00:00
include: drop including dix-config.h
All xserver sources need to include it at the very top anyways, so no need to clutter public SDK headers with extra complexity. Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
This commit is contained in:
committed by
Enrico Weigelt
parent
e835d2a000
commit
75c751dd92
@@ -26,10 +26,6 @@
|
|||||||
#ifndef CLIENT_H
|
#ifndef CLIENT_H
|
||||||
#define CLIENT_H
|
#define CLIENT_H
|
||||||
|
|
||||||
#ifdef HAVE_DIX_CONFIG_H
|
|
||||||
#include <dix-config.h>
|
|
||||||
#endif /* HAVE_DIX_CONFIG_H */
|
|
||||||
|
|
||||||
struct _Client;
|
struct _Client;
|
||||||
typedef struct _ClientId *ClientIdPtr;
|
typedef struct _ClientId *ClientIdPtr;
|
||||||
|
|
||||||
|
|||||||
@@ -1,10 +1,6 @@
|
|||||||
#ifndef _DISMODEPROC_H_
|
#ifndef _DISMODEPROC_H_
|
||||||
#define _DISMODEPROC_H_
|
#define _DISMODEPROC_H_
|
||||||
|
|
||||||
#ifdef HAVE_DIX_CONFIG_H
|
|
||||||
#include <dix-config.h>
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#include "scrnintstr.h"
|
#include "scrnintstr.h"
|
||||||
|
|
||||||
#define MAXCLOCKS 128
|
#define MAXCLOCKS 128
|
||||||
|
|||||||
@@ -47,11 +47,6 @@ SOFTWARE.
|
|||||||
#ifndef SERVERMD_H
|
#ifndef SERVERMD_H
|
||||||
#define SERVERMD_H 1
|
#define SERVERMD_H 1
|
||||||
|
|
||||||
#if !defined(_DIX_CONFIG_H_) && !defined(_XORG_SERVER_H_)
|
|
||||||
#error Drivers must include xorg-server.h before any other xserver headers
|
|
||||||
#error xserver code must include dix-config.h before any other headers
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#include <X11/Xarch.h> /* for X_LITTLE_ENDIAN/X_BIG_ENDIAN */
|
#include <X11/Xarch.h> /* for X_LITTLE_ENDIAN/X_BIG_ENDIAN */
|
||||||
|
|
||||||
#if X_BYTE_ORDER == X_LITTLE_ENDIAN
|
#if X_BYTE_ORDER == X_LITTLE_ENDIAN
|
||||||
|
|||||||
@@ -1,10 +1,6 @@
|
|||||||
#ifndef _VIDMODEPROC_H_
|
#ifndef _VIDMODEPROC_H_
|
||||||
#define _VIDMODEPROC_H_
|
#define _VIDMODEPROC_H_
|
||||||
|
|
||||||
#ifdef HAVE_DIX_CONFIG_H
|
|
||||||
#include <dix-config.h>
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#include "displaymode.h"
|
#include "displaymode.h"
|
||||||
|
|
||||||
typedef enum {
|
typedef enum {
|
||||||
|
|||||||
Reference in New Issue
Block a user