fix build failure accepted/tizen/20131016.040020 submit/tizen/20131016.035838
authorYan Yin <yan.yin@intel.com>
Tue, 15 Oct 2013 08:27:20 +0000 (16:27 +0800)
committerYan Yin <yan.yin@intel.com>
Wed, 16 Oct 2013 03:35:37 +0000 (11:35 +0800)
Change-Id: Idd77d0cd60eeaf711f314152c47578ce9c83fb7f

packaging/libva.spec
va/egl/va_egl.c

index efbcde1..23f8d20 100644 (file)
@@ -55,6 +55,7 @@ cp %{SOURCE1001} .
 
 unset LD_AS_NEEDED
 %autogen
+./configure --prefix=/usr
 make
 
 %install
index 48ff7a1..104310f 100644 (file)
@@ -55,6 +55,7 @@
  */
 #include "va_egl_private.h"
 #include "va_egl_impl.h"
+#include <stddef.h>
 
 #define CTX(dpy) (((VADisplayContextP)dpy)->pDriverContext)
 #define CHECK_DISPLAY(dpy) if( !vaDisplayIsValid(dpy) ) { return VA_STATUS_ERROR_INVALID_DISPLAY; }