summaryrefslogtreecommitdiffstats
path: root/unix/xserver
diff options
context:
space:
mode:
authorAdam Tkac <atkac@redhat.com>2008-04-17 11:14:23 +0000
committerAdam Tkac <atkac@redhat.com>2008-04-17 11:14:23 +0000
commit0cab1cb1f38d09f26903d04b41f377d79a584c22 (patch)
treee33073182f933fa38b1fc8e8d0282b00eb2671b1 /unix/xserver
parente3c6167c557005d8c62b2ccaef806680b96d1f21 (diff)
downloadtigervnc-0cab1cb1f38d09f26903d04b41f377d79a584c22.tar.gz
tigervnc-0cab1cb1f38d09f26903d04b41f377d79a584c22.zip
- 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
Diffstat (limited to 'unix/xserver')
-rw-r--r--unix/xserver/hw/vnc/XserverDesktop.cc4
-rw-r--r--unix/xserver/hw/vnc/XserverDesktop.h4
-rw-r--r--unix/xserver/hw/vnc/vncExtInit.cc4
-rw-r--r--unix/xserver/hw/vnc/vncExtInit.h4
-rw-r--r--unix/xserver/hw/vnc/vncHooks.cc4
-rw-r--r--unix/xserver/hw/vnc/vncHooks.h4
-rw-r--r--unix/xserver/hw/vnc/xf86vncModule.cc4
-rw-r--r--unix/xserver/hw/vnc/xvnc.cc4
8 files changed, 32 insertions, 0 deletions
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 <dix-config.h>
+#endif
+
#include <stdio.h>
#include <strings.h>
#include <unistd.h>
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 <dix-config.h>
+#endif
+
#include <rfb/SDesktop.h>
#include <rfb/HTTPServer.h>
#include <rfb/PixelBuffer.h>
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 <dix-config.h>
+#endif
+
#include <stdio.h>
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 <dix-config.h>
+#endif
+
#include <rfb/Configuration.h>
#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 <dix-config.h>
+#endif
+
#include <stdio.h>
#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 <dix-config.h>
+#endif
+
extern "C" {
#include <screenint.h>
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 <dix-config.h>
+#endif
+
#include <rfb/Configuration.h>
#include <rfb/Logger_stdio.h>
#include <rfb/LogWriter.h>
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 <dix-config.h>
+#endif
+
#include <rfb/Configuration.h>
#include <rfb/Logger_stdio.h>
#include <rfb/LogWriter.h>