OSDN Git Service

Fix drivers build.
authorGwenole Beauchesne <gbeauchesne@splitted-desktop.com>
Mon, 8 Mar 2010 08:41:41 +0000 (09:41 +0100)
committerAustin Yuan <shengquan.yuan@gmail.com>
Mon, 8 Mar 2010 09:24:59 +0000 (17:24 +0800)
Makefile.am
i965_drv_video.c
i965_render.c
intel_batchbuffer.c

index 0a36fa8..88b5590 100644 (file)
@@ -22,7 +22,7 @@
 
 SUBDIRS = shaders
 
-AM_CFLAGS = -Wall -I$(top_srcdir)/va -I$(top_srcdir)/src/x11 @DRM_CFLAGS@
+AM_CFLAGS = -Wall -I$(top_srcdir)/va -I$(top_srcdir)/va/x11 @DRM_CFLAGS@
 
 i965_drv_video_la_LTLIBRARIES = i965_drv_video.la
 i965_drv_video_ladir = @LIBVA_DRIVERS_PATH@
index 260a053..6a60ecc 100644 (file)
@@ -27,6 +27,7 @@
  *
  */
 
+#include <stdlib.h>
 #include <string.h>
 #include <assert.h>
 
index 6221c52..4a4f041 100644 (file)
@@ -32,6 +32,7 @@
  */
 
 #include <stdio.h>
+#include <stdlib.h>
 #include <string.h>
 #include <assert.h>
 
index 21e5719..9fabf6a 100644 (file)
@@ -25,6 +25,7 @@
  *                                                                                                                                                           
  **************************************************************************/      
 
+#include <stdlib.h>
 #include <string.h>
 #include <assert.h>