present: Include dix-config.h instead of xorg-config.h

This is DIX code.
This commit is contained in:
Michel Dänzer 2020-09-15 11:41:34 +02:00
parent 0ce93e5ba7
commit 62d8c1cc69
14 changed files with 2 additions and 47 deletions

View File

@ -1,7 +1,6 @@
noinst_LTLIBRARIES = libpresent.la
AM_CFLAGS = \
-DHAVE_XORG_CONFIG_H \
@DIX_CFLAGS@ @XORG_CFLAGS@
@DIX_CFLAGS@
libpresent_la_SOURCES = \
present.h \

View File

@ -24,7 +24,6 @@ libxserver_present = static_library('libxserver_present',
common_dep,
dependency('presentproto', version: '>= 1.2')
],
c_args: '-DHAVE_XORG_CONFIG_H'
)
install_data(hdrs_present, install_dir: xorgsdkdir)

View File

@ -20,10 +20,6 @@
* OF THIS SOFTWARE.
*/
#ifdef HAVE_XORG_CONFIG_H
#include <xorg-config.h>
#endif
#include "present_priv.h"
#include <gcstruct.h>

View File

@ -20,10 +20,6 @@
* OF THIS SOFTWARE.
*/
#ifdef HAVE_XORG_CONFIG_H
#include <xorg-config.h>
#endif
#include "present_priv.h"
static RESTYPE present_event_type;

View File

@ -20,10 +20,6 @@
* OF THIS SOFTWARE.
*/
#ifdef HAVE_XORG_CONFIG_H
#include <xorg-config.h>
#endif
#include "present_priv.h"
/*

View File

@ -20,10 +20,6 @@
* OF THIS SOFTWARE.
*/
#ifdef HAVE_XORG_CONFIG_H
#include <xorg-config.h>
#endif
#include "present_priv.h"
#include "list.h"

View File

@ -20,10 +20,6 @@
* OF THIS SOFTWARE.
*/
#ifdef HAVE_XORG_CONFIG_H
#include <xorg-config.h>
#endif
#include "present_priv.h"
#include <gcstruct.h>
#include <misync.h>

View File

@ -20,10 +20,6 @@
* OF THIS SOFTWARE.
*/
#ifdef HAVE_XORG_CONFIG_H
#include <xorg-config.h>
#endif
#include "present_priv.h"
/*

View File

@ -23,6 +23,7 @@
#ifndef _PRESENT_PRIV_H_
#define _PRESENT_PRIV_H_
#include "dix-config.h"
#include <X11/X.h>
#include "scrnintstr.h"
#include "misc.h"

View File

@ -20,10 +20,6 @@
* OF THIS SOFTWARE.
*/
#ifdef HAVE_XORG_CONFIG_H
#include <xorg-config.h>
#endif
#include "present_priv.h"
#include "randrstr.h"
#include <protocol-versions.h>

View File

@ -20,10 +20,6 @@
* OF THIS SOFTWARE.
*/
#ifdef HAVE_XORG_CONFIG_H
#include <xorg-config.h>
#endif
#include "present_priv.h"
#include <misync.h>
#include <misyncstr.h>

View File

@ -20,10 +20,6 @@
* OF THIS SOFTWARE.
*/
#ifdef HAVE_XORG_CONFIG_H
#include <xorg-config.h>
#endif
#include "present_priv.h"
int present_request;

View File

@ -20,10 +20,6 @@
* OF THIS SOFTWARE.
*/
#ifdef HAVE_XORG_CONFIG_H
#include <xorg-config.h>
#endif
#include "present_priv.h"
void

View File

@ -20,10 +20,6 @@
* OF THIS SOFTWARE.
*/
#ifdef HAVE_XORG_CONFIG_H
#include <xorg-config.h>
#endif
#include "present_priv.h"
/*