OSDN Git Service

intel: don't forget to include config.h in bufmgr code.
authorEric Anholt <eric@anholt.net>
Wed, 10 Sep 2008 20:54:34 +0000 (13:54 -0700)
committerEric Anholt <eric@anholt.net>
Wed, 10 Sep 2008 21:07:19 +0000 (14:07 -0700)
Thanks to airlied for catching this.

libdrm/intel/intel_bufmgr.c
libdrm/intel/intel_bufmgr_fake.c
libdrm/intel/intel_bufmgr_gem.c

index 45b691d..fc7284b 100644 (file)
  *
  */
 
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
 #include <string.h>
 #include <stdlib.h>
 #include <stdint.h>
index f9e1cd1..4b4c2a1 100644 (file)
  * the bugs in the old texture manager.
  */
 
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
 #include <stdlib.h>
 #include <string.h>
 #include <assert.h>
index 4415272..97e387f 100644 (file)
  *         Dave Airlie <airlied@linux.ie>
  */
 
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
 #include <xf86drm.h>
 #include <stdio.h>
 #include <stdlib.h>