summaryrefslogtreecommitdiff
path: root/libdrm/nouveau
diff options
context:
space:
mode:
authorBen Skeggs <bskeggs@redhat.com>2009-06-04 08:59:53 +1000
committerBen Skeggs <bskeggs@redhat.com>2009-06-04 09:01:32 +1000
commit2cb4c64d7310904b354365c2cbc263211e9eb4a1 (patch)
tree8b8c328112e1f3712974fbd6aa5501be90c3b7bc /libdrm/nouveau
parentd7c42ff4c445ed2cb23f4eb3a45858c110184773 (diff)
nouveau: fix bo mapping issue
Diffstat (limited to 'libdrm/nouveau')
-rw-r--r--libdrm/nouveau/nouveau_bo.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/libdrm/nouveau/nouveau_bo.c b/libdrm/nouveau/nouveau_bo.c
index 8832a0d2..55d0575b 100644
--- a/libdrm/nouveau/nouveau_bo.c
+++ b/libdrm/nouveau/nouveau_bo.c
@@ -20,6 +20,9 @@
* SOFTWARE.
*/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
#include <stdint.h>
#include <stdlib.h>
#include <errno.h>