summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEric Anholt <eric@anholt.net>2008-09-10 13:54:34 -0700
committerEric Anholt <eric@anholt.net>2008-09-10 14:07:19 -0700
commit368b392e6dcd19cb75675c0c18d02f70257af1df (patch)
treec51b354811d8f3f3227f451a6424f21634973a20
parentf9d98beefc9e7b8d06a29f5b69a19f10fd3c435f (diff)
intel: don't forget to include config.h in bufmgr code.
Thanks to airlied for catching this.
-rw-r--r--libdrm/intel/intel_bufmgr.c4
-rw-r--r--libdrm/intel/intel_bufmgr_fake.c4
-rw-r--r--libdrm/intel/intel_bufmgr_gem.c4
3 files changed, 12 insertions, 0 deletions
diff --git a/libdrm/intel/intel_bufmgr.c b/libdrm/intel/intel_bufmgr.c
index 45b691d6..fc7284b5 100644
--- a/libdrm/intel/intel_bufmgr.c
+++ b/libdrm/intel/intel_bufmgr.c
@@ -25,6 +25,10 @@
*
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <string.h>
#include <stdlib.h>
#include <stdint.h>
diff --git a/libdrm/intel/intel_bufmgr_fake.c b/libdrm/intel/intel_bufmgr_fake.c
index f9e1cd12..4b4c2a1b 100644
--- a/libdrm/intel/intel_bufmgr_fake.c
+++ b/libdrm/intel/intel_bufmgr_fake.c
@@ -34,6 +34,10 @@
* the bugs in the old texture manager.
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <stdlib.h>
#include <string.h>
#include <assert.h>
diff --git a/libdrm/intel/intel_bufmgr_gem.c b/libdrm/intel/intel_bufmgr_gem.c
index 44152728..97e387f5 100644
--- a/libdrm/intel/intel_bufmgr_gem.c
+++ b/libdrm/intel/intel_bufmgr_gem.c
@@ -34,6 +34,10 @@
* Dave Airlie <airlied@linux.ie>
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <xf86drm.h>
#include <stdio.h>
#include <stdlib.h>