From 0cab1cb1f38d09f26903d04b41f377d79a584c22 Mon Sep 17 00:00:00 2001 From: Adam Tkac Date: Thu, 17 Apr 2008 11:14:23 +0000 Subject: [PATCH] - include dix-config.h before any xorg header git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/branches/1.5-xserver@2483 3789f03b-4d11-0410-bbf8-ca57d06f2519 --- unix/xserver/hw/vnc/XserverDesktop.cc | 4 ++++ unix/xserver/hw/vnc/XserverDesktop.h | 4 ++++ unix/xserver/hw/vnc/vncExtInit.cc | 4 ++++ unix/xserver/hw/vnc/vncExtInit.h | 4 ++++ unix/xserver/hw/vnc/vncHooks.cc | 4 ++++ unix/xserver/hw/vnc/vncHooks.h | 4 ++++ unix/xserver/hw/vnc/xf86vncModule.cc | 4 ++++ unix/xserver/hw/vnc/xvnc.cc | 4 ++++ 8 files changed, 32 insertions(+) diff --git a/unix/xserver/hw/vnc/XserverDesktop.cc b/unix/xserver/hw/vnc/XserverDesktop.cc index a6c4f2f1..dfa74cbd 100644 --- a/unix/xserver/hw/vnc/XserverDesktop.cc +++ b/unix/xserver/hw/vnc/XserverDesktop.cc @@ -19,6 +19,10 @@ // XserverDesktop.cxx // +#ifdef HAVE_DIX_CONFIG_H +#include +#endif + #include #include #include diff --git a/unix/xserver/hw/vnc/XserverDesktop.h b/unix/xserver/hw/vnc/XserverDesktop.h index 880acc21..522a94c3 100644 --- a/unix/xserver/hw/vnc/XserverDesktop.h +++ b/unix/xserver/hw/vnc/XserverDesktop.h @@ -22,6 +22,10 @@ #ifndef __XSERVERDESKTOP_H__ #define __XSERVERDESKTOP_H__ +#ifdef HAVE_DIX_CONFIG_H +#include +#endif + #include #include #include diff --git a/unix/xserver/hw/vnc/vncExtInit.cc b/unix/xserver/hw/vnc/vncExtInit.cc index 84d20c14..97df6585 100644 --- a/unix/xserver/hw/vnc/vncExtInit.cc +++ b/unix/xserver/hw/vnc/vncExtInit.cc @@ -16,6 +16,10 @@ * USA. */ +#ifdef HAVE_DIX_CONFIG_H +#include +#endif + #include extern "C" { diff --git a/unix/xserver/hw/vnc/vncExtInit.h b/unix/xserver/hw/vnc/vncExtInit.h index 45453e1f..606666bb 100644 --- a/unix/xserver/hw/vnc/vncExtInit.h +++ b/unix/xserver/hw/vnc/vncExtInit.h @@ -18,6 +18,10 @@ #ifndef __VNCEXTINIT_H__ #define __VNCEXTINIT_H__ +#ifdef HAVE_DIX_CONFIG_H +#include +#endif + #include #include "XserverDesktop.h" diff --git a/unix/xserver/hw/vnc/vncHooks.cc b/unix/xserver/hw/vnc/vncHooks.cc index 0d4392fe..e83d1e76 100644 --- a/unix/xserver/hw/vnc/vncHooks.cc +++ b/unix/xserver/hw/vnc/vncHooks.cc @@ -16,6 +16,10 @@ * USA. */ +#ifdef HAVE_DIX_CONFIG_H +#include +#endif + #include #include "XserverDesktop.h" #include "vncHooks.h" diff --git a/unix/xserver/hw/vnc/vncHooks.h b/unix/xserver/hw/vnc/vncHooks.h index c556ef3a..30b51dbd 100644 --- a/unix/xserver/hw/vnc/vncHooks.h +++ b/unix/xserver/hw/vnc/vncHooks.h @@ -18,6 +18,10 @@ #ifndef __VNCHOOKS_H__ #define __VNCHOOKS_H__ +#ifdef HAVE_DIX_CONFIG_H +#include +#endif + extern "C" { #include extern Bool vncHooksInit(ScreenPtr pScreen, XserverDesktop* desktop); diff --git a/unix/xserver/hw/vnc/xf86vncModule.cc b/unix/xserver/hw/vnc/xf86vncModule.cc index ef8ea506..fff482fa 100644 --- a/unix/xserver/hw/vnc/xf86vncModule.cc +++ b/unix/xserver/hw/vnc/xf86vncModule.cc @@ -18,6 +18,10 @@ /* This is the xf86 module code for the vnc extension. */ +#ifdef HAVE_DIX_CONFIG_H +#include +#endif + #include #include #include diff --git a/unix/xserver/hw/vnc/xvnc.cc b/unix/xserver/hw/vnc/xvnc.cc index c95516a7..c212ca66 100644 --- a/unix/xserver/hw/vnc/xvnc.cc +++ b/unix/xserver/hw/vnc/xvnc.cc @@ -27,6 +27,10 @@ from the X Consortium. */ +#ifdef HAVE_DIX_CONFIG_H +#include +#endif + #include #include #include -- 2.39.5