Commit 22885ed4 authored by Adam Jackson's avatar Adam Jackson 🎧

Prep for modular builds by adding guarded #include "config.h" everywhere.

parent fe03307e
...@@ -56,6 +56,10 @@ ...@@ -56,6 +56,10 @@
* Used by permission. * Used by permission.
*/ */
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
#include "init.h" #include "init.h"
#ifdef SIS300 #ifdef SIS300
......
...@@ -57,6 +57,10 @@ ...@@ -57,6 +57,10 @@
* *
*/ */
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
#if 1 #if 1
#define SET_EMI /* 302LV/ELV: Set EMI values */ #define SET_EMI /* 302LV/ELV: Set EMI values */
#endif #endif
......
...@@ -31,6 +31,10 @@ ...@@ -31,6 +31,10 @@
* *
*/ */
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
#include "initextx.h" #include "initextx.h"
static void static void
......
...@@ -32,6 +32,10 @@ ...@@ -32,6 +32,10 @@
* *
*/ */
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
#if 0 #if 0
#define DEBUG #define DEBUG
#endif #endif
......
...@@ -34,6 +34,10 @@ ...@@ -34,6 +34,10 @@
* *
*/ */
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
#include "sis.h" #include "sis.h"
#define SIS_NEED_MYMMIO #define SIS_NEED_MYMMIO
#define SIS_NEED_ACCELBUF #define SIS_NEED_ACCELBUF
......
...@@ -31,6 +31,10 @@ ...@@ -31,6 +31,10 @@
* *
*/ */
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
#include "sis.h" #include "sis.h"
#ifdef SIS_USE_XAA #ifdef SIS_USE_XAA
......
...@@ -34,6 +34,10 @@ ...@@ -34,6 +34,10 @@
* Thomas Winischhofer <thomas@winischhofer.net>. * Thomas Winischhofer <thomas@winischhofer.net>.
*/ */
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
#include "sis.h" #include "sis.h"
#include "sis_regs.h" #include "sis_regs.h"
#ifdef SIS_USE_XAA #ifdef SIS_USE_XAA
......
...@@ -33,6 +33,10 @@ ...@@ -33,6 +33,10 @@
* *
*/ */
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
#include "sis.h" #include "sis.h"
#include "cursorstr.h" #include "cursorstr.h"
......
...@@ -63,6 +63,10 @@ ...@@ -63,6 +63,10 @@
* PERFORMANCE OF THIS SOFTWARE. * PERFORMANCE OF THIS SOFTWARE.
*/ */
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
#include "sis.h" #include "sis.h"
#define SIS_NEED_inSISREG #define SIS_NEED_inSISREG
#define SIS_NEED_inSISREGW #define SIS_NEED_inSISREGW
......
...@@ -34,6 +34,10 @@ ...@@ -34,6 +34,10 @@
* Thomas Winischhofer <thomas@winischhofer.net> * Thomas Winischhofer <thomas@winischhofer.net>
*/ */
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
#include "sis.h" #include "sis.h"
#include "dgaproc.h" #include "dgaproc.h"
......
...@@ -36,6 +36,10 @@ ...@@ -36,6 +36,10 @@
* others. * others.
*/ */
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
#include "sis.h" #include "sis.h"
#include "sis_regs.h" #include "sis_regs.h"
......
...@@ -45,6 +45,10 @@ ...@@ -45,6 +45,10 @@
* David Thomas <davtom@dream.org.uk>. * David Thomas <davtom@dream.org.uk>.
*/ */
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
#include "sis.h" #include "sis.h"
#include "xf86RAC.h" #include "xf86RAC.h"
......
...@@ -27,6 +27,10 @@ ...@@ -27,6 +27,10 @@
* *
*/ */
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
#include "sis.h" #include "sis.h"
#if 0 /* Debug */ #if 0 /* Debug */
......
...@@ -31,6 +31,10 @@ ...@@ -31,6 +31,10 @@
* ? * ?
*/ */
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
#include "sis.h" #include "sis.h"
#include "xf86str.h" #include "xf86str.h"
......
...@@ -33,6 +33,10 @@ ...@@ -33,6 +33,10 @@
* *
*/ */
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
#include "sis.h" #include "sis.h"
#define SIS_NEED_inSISREGW #define SIS_NEED_inSISREGW
#define SIS_NEED_inSISREGL #define SIS_NEED_inSISREGL
......
...@@ -29,6 +29,10 @@ ...@@ -29,6 +29,10 @@
* active when DGA is active and vice versa. * active when DGA is active and vice versa.
*/ */
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
#include "sis.h" #include "sis.h"
#include "servermd.h" #include "servermd.h"
......
...@@ -31,6 +31,10 @@ ...@@ -31,6 +31,10 @@
* *
*/ */
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
#include "sis.h" #include "sis.h"
#define NEED_REPLIES #define NEED_REPLIES
#define NEED_EVENTS #define NEED_EVENTS
......
...@@ -31,6 +31,10 @@ ...@@ -31,6 +31,10 @@
* *
*/ */
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
#include "sis.h" #include "sis.h"
#define SIS_NEED_inSISREG #define SIS_NEED_inSISREG
#define SIS_NEED_inSISIDXREG #define SIS_NEED_inSISIDXREG
......
...@@ -36,6 +36,10 @@ ...@@ -36,6 +36,10 @@
* *
*/ */
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
#include "sis.h" #include "sis.h"
#define SIS_NEED_inSISREG #define SIS_NEED_inSISREG
#define SIS_NEED_outSISREG #define SIS_NEED_outSISREG
......
...@@ -94,6 +94,10 @@ ...@@ -94,6 +94,10 @@
* *
*/ */
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
#include "sis.h" #include "sis.h"
#ifdef SIS_USE_XAA #ifdef SIS_USE_XAA
#include "xf86fbman.h" #include "xf86fbman.h"
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment