summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAdam Jackson <ajax@nwnk.net>2005-07-11 02:29:50 +0000
committerAdam Jackson <ajax@nwnk.net>2005-07-11 02:29:50 +0000
commitcf4dfd650dbc2bb65eae4eea2acfb4a4c5295548 (patch)
treed9cade9a05ef7c8f63642e015622daee70c1cec7
parentc5548086f3864c828f0cad65d2708cefd2025947 (diff)
Prep for modular builds by adding guarded #include "config.h" everywhere.
-rw-r--r--hw/xfree86/i2c/bt829.c4
-rw-r--r--hw/xfree86/i2c/bt829_module.c3
-rw-r--r--hw/xfree86/i2c/fi1236.c4
-rw-r--r--hw/xfree86/i2c/fi1236_module.c3
-rw-r--r--hw/xfree86/i2c/msp3430.c4
-rw-r--r--hw/xfree86/i2c/msp3430_module.c3
-rw-r--r--hw/xfree86/i2c/tda8425.c4
-rw-r--r--hw/xfree86/i2c/tda8425_module.c3
-rw-r--r--hw/xfree86/i2c/tda9850.c4
-rw-r--r--hw/xfree86/i2c/tda9850_module.c3
-rw-r--r--hw/xfree86/i2c/tda9885.c4
-rw-r--r--hw/xfree86/i2c/tda9885_module.c3
-rw-r--r--hw/xfree86/i2c/uda1380.c7
-rw-r--r--hw/xfree86/i2c/uda1380_module.c3
14 files changed, 52 insertions, 0 deletions
diff --git a/hw/xfree86/i2c/bt829.c b/hw/xfree86/i2c/bt829.c
index 2cb5e53a0..b4d55873d 100644
--- a/hw/xfree86/i2c/bt829.c
+++ b/hw/xfree86/i2c/bt829.c
@@ -1,5 +1,9 @@
/* TODO: clean up/fix CC code */
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include "xf86.h"
#include "xf86i2c.h"
#include "bt829.h"
diff --git a/hw/xfree86/i2c/bt829_module.c b/hw/xfree86/i2c/bt829_module.c
index 998fdcb7e..2340ef571 100644
--- a/hw/xfree86/i2c/bt829_module.c
+++ b/hw/xfree86/i2c/bt829_module.c
@@ -1,3 +1,6 @@
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
#include "xf86Module.h"
diff --git a/hw/xfree86/i2c/fi1236.c b/hw/xfree86/i2c/fi1236.c
index 9d253d9c9..a2d79df25 100644
--- a/hw/xfree86/i2c/fi1236.c
+++ b/hw/xfree86/i2c/fi1236.c
@@ -1,3 +1,7 @@
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include "xf86.h"
#include "xf86i2c.h"
#include "fi1236.h"
diff --git a/hw/xfree86/i2c/fi1236_module.c b/hw/xfree86/i2c/fi1236_module.c
index 828f2b2d2..2c8917741 100644
--- a/hw/xfree86/i2c/fi1236_module.c
+++ b/hw/xfree86/i2c/fi1236_module.c
@@ -1,3 +1,6 @@
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
#include "xf86Module.h"
diff --git a/hw/xfree86/i2c/msp3430.c b/hw/xfree86/i2c/msp3430.c
index 699cfa495..0f1e89fe0 100644
--- a/hw/xfree86/i2c/msp3430.c
+++ b/hw/xfree86/i2c/msp3430.c
@@ -1,3 +1,7 @@
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include "xf86.h"
#include "xf86i2c.h"
#include "msp3430.h"
diff --git a/hw/xfree86/i2c/msp3430_module.c b/hw/xfree86/i2c/msp3430_module.c
index a036164a9..a5ca1aec9 100644
--- a/hw/xfree86/i2c/msp3430_module.c
+++ b/hw/xfree86/i2c/msp3430_module.c
@@ -1,3 +1,6 @@
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
#include "xf86Module.h"
diff --git a/hw/xfree86/i2c/tda8425.c b/hw/xfree86/i2c/tda8425.c
index 8ddf7267e..700a01a89 100644
--- a/hw/xfree86/i2c/tda8425.c
+++ b/hw/xfree86/i2c/tda8425.c
@@ -1,3 +1,7 @@
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include "xf86.h"
#include "xf86i2c.h"
#include "tda8425.h"
diff --git a/hw/xfree86/i2c/tda8425_module.c b/hw/xfree86/i2c/tda8425_module.c
index 7d35273ff..d5858a3f0 100644
--- a/hw/xfree86/i2c/tda8425_module.c
+++ b/hw/xfree86/i2c/tda8425_module.c
@@ -1,3 +1,6 @@
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
#include "xf86Module.h"
diff --git a/hw/xfree86/i2c/tda9850.c b/hw/xfree86/i2c/tda9850.c
index 708dcccbb..d4578b2b3 100644
--- a/hw/xfree86/i2c/tda9850.c
+++ b/hw/xfree86/i2c/tda9850.c
@@ -1,3 +1,7 @@
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include "xf86.h"
#include "xf86i2c.h"
#include "tda9850.h"
diff --git a/hw/xfree86/i2c/tda9850_module.c b/hw/xfree86/i2c/tda9850_module.c
index b609c6a32..ea60d600a 100644
--- a/hw/xfree86/i2c/tda9850_module.c
+++ b/hw/xfree86/i2c/tda9850_module.c
@@ -1,3 +1,6 @@
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
#include "xf86Module.h"
diff --git a/hw/xfree86/i2c/tda9885.c b/hw/xfree86/i2c/tda9885.c
index 8abdd2a2f..b71fddf50 100644
--- a/hw/xfree86/i2c/tda9885.c
+++ b/hw/xfree86/i2c/tda9885.c
@@ -1,3 +1,7 @@
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include "xf86.h"
#include "xf86i2c.h"
#include "tda9885.h"
diff --git a/hw/xfree86/i2c/tda9885_module.c b/hw/xfree86/i2c/tda9885_module.c
index cafe35a3e..331fbe719 100644
--- a/hw/xfree86/i2c/tda9885_module.c
+++ b/hw/xfree86/i2c/tda9885_module.c
@@ -1,3 +1,6 @@
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
#include "xf86Module.h"
diff --git a/hw/xfree86/i2c/uda1380.c b/hw/xfree86/i2c/uda1380.c
index fb243f8b5..8e36b9ae4 100644
--- a/hw/xfree86/i2c/uda1380.c
+++ b/hw/xfree86/i2c/uda1380.c
@@ -5,12 +5,19 @@
* License: GPL
*
* $Log$
+ * Revision 1.3 2005/07/11 02:29:50 ajax
+ * Prep for modular builds by adding guarded #include "config.h" everywhere.
+ *
* Revision 1.2 2005/07/01 22:43:11 daniels
* Change all misc.h and os.h references to <X11/foo.h>.
*
*
************************************************************************************/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include "xf86.h"
#include "xf86i2c.h"
#include "uda1380.h"
diff --git a/hw/xfree86/i2c/uda1380_module.c b/hw/xfree86/i2c/uda1380_module.c
index 61aa40bb8..cfda721c7 100644
--- a/hw/xfree86/i2c/uda1380_module.c
+++ b/hw/xfree86/i2c/uda1380_module.c
@@ -1,3 +1,6 @@
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
#include "xf86Module.h"