dri3: Include dix-config.h instead of xorg-config.h
This is DIX code.
This commit is contained in:
parent
97f858d336
commit
0ce93e5ba7
|
@ -1,7 +1,6 @@
|
||||||
noinst_LTLIBRARIES = libdri3.la
|
noinst_LTLIBRARIES = libdri3.la
|
||||||
AM_CFLAGS = \
|
AM_CFLAGS = \
|
||||||
-DHAVE_XORG_CONFIG_H \
|
@DIX_CFLAGS@
|
||||||
@DIX_CFLAGS@ @XORG_CFLAGS@
|
|
||||||
|
|
||||||
libdri3_la_SOURCES = \
|
libdri3_la_SOURCES = \
|
||||||
dri3.h \
|
dri3.h \
|
||||||
|
|
|
@ -20,10 +20,6 @@
|
||||||
* OF THIS SOFTWARE.
|
* OF THIS SOFTWARE.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifdef HAVE_XORG_CONFIG_H
|
|
||||||
#include <xorg-config.h>
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#include "dri3_priv.h"
|
#include "dri3_priv.h"
|
||||||
|
|
||||||
#include <drm_fourcc.h>
|
#include <drm_fourcc.h>
|
||||||
|
|
|
@ -23,6 +23,7 @@
|
||||||
#ifndef _DRI3PRIV_H_
|
#ifndef _DRI3PRIV_H_
|
||||||
#define _DRI3PRIV_H_
|
#define _DRI3PRIV_H_
|
||||||
|
|
||||||
|
#include "dix-config.h"
|
||||||
#include <X11/X.h>
|
#include <X11/X.h>
|
||||||
#include "scrnintstr.h"
|
#include "scrnintstr.h"
|
||||||
#include "misc.h"
|
#include "misc.h"
|
||||||
|
|
|
@ -20,10 +20,6 @@
|
||||||
* OF THIS SOFTWARE.
|
* OF THIS SOFTWARE.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifdef HAVE_XORG_CONFIG_H
|
|
||||||
#include <xorg-config.h>
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#include "dri3_priv.h"
|
#include "dri3_priv.h"
|
||||||
#include <syncsrv.h>
|
#include <syncsrv.h>
|
||||||
#include <unistd.h>
|
#include <unistd.h>
|
||||||
|
|
|
@ -20,10 +20,6 @@
|
||||||
* OF THIS SOFTWARE.
|
* OF THIS SOFTWARE.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifdef HAVE_XORG_CONFIG_H
|
|
||||||
#include <xorg-config.h>
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#include "dri3_priv.h"
|
#include "dri3_priv.h"
|
||||||
#include <syncsdk.h>
|
#include <syncsdk.h>
|
||||||
#include <misync.h>
|
#include <misync.h>
|
||||||
|
|
|
@ -14,7 +14,6 @@ if build_dri3
|
||||||
srcs_dri3,
|
srcs_dri3,
|
||||||
include_directories: inc,
|
include_directories: inc,
|
||||||
dependencies: [ common_dep, libdrm_dep ],
|
dependencies: [ common_dep, libdrm_dep ],
|
||||||
c_args: '-DHAVE_XORG_CONFIG_H'
|
|
||||||
)
|
)
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue