On Monday 13 April 2015 21:26:32 Pali Rohár wrote:
> File glapi_entrypoint.c calls memcpy() function, but does not
> include string.h header. So compilation can fail at error:
> implicit declaration of function 'memcpy'.
> 
> --- src/mapi/glapi/glapi_entrypoint.c 2015-04-13
> 21:11:09.000000000 +0200 +++
> src/mapi/glapi/glapi_entrypoint.c     2015-04-13
> 21:11:55.284118513 +0200 @@ -33,6 +33,7 @@
>  #include "glapi/glapi_priv.h"
>  #include "u_execmem.h"
> 
> +#include <string.h>
> 
>  #ifdef USE_X86_ASM

This problem is caused by commit:

http://cgit.freedesktop.org/mesa/mesa/commit/?id=9fbbd60c1da4467683d93540c64164ad337ce454

which removes #include <string.h> from glapi_priv.h file.

-- 
Pali Rohár
pali.ro...@gmail.com

Attachment: signature.asc
Description: This is a digitally signed message part.

_______________________________________________
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/mesa-dev

Reply via email to