summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/nv_bios.c4
-rw-r--r--src/nv_dma.c4
-rw-r--r--src/nv_dri.c5
-rw-r--r--src/nv_exa.c4
4 files changed, 16 insertions, 1 deletions
diff --git a/src/nv_bios.c b/src/nv_bios.c
index c21462a..ae596ae 100644
--- a/src/nv_bios.c
+++ b/src/nv_bios.c
@@ -21,6 +21,10 @@
* SOFTWARE.
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include "nv_include.h"
#include "nvreg.h"
diff --git a/src/nv_dma.c b/src/nv_dma.c
index e9f0efc..308931d 100644
--- a/src/nv_dma.c
+++ b/src/nv_dma.c
@@ -1,3 +1,7 @@
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include "nv_include.h"
#include "nvreg.h"
diff --git a/src/nv_dri.c b/src/nv_dri.c
index 26ec803..05e3d30 100644
--- a/src/nv_dri.c
+++ b/src/nv_dri.c
@@ -1,5 +1,8 @@
-#ifdef XF86DRI
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+#ifdef XF86DRI
#include "nv_include.h"
#define _XF86DRI_SERVER_
#include "GL/glxint.h"
diff --git a/src/nv_exa.c b/src/nv_exa.c
index 9889af0..b77f503 100644
--- a/src/nv_exa.c
+++ b/src/nv_exa.c
@@ -41,6 +41,10 @@
Exa Modifications (c) Lars Knoll (lars@trolltech.com)
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include "nv_include.h"
#include "exa.h"