[Mesa-dev] [PATCH] Fix 32bit compilation with -Werror=implicit-function-declaration
Pali Rohár
pali.rohar at gmail.com
Mon Apr 13 12:26:32 PDT 2015
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
--
Pali Rohár
pali.rohar at gmail.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part.
URL: <http://lists.freedesktop.org/archives/mesa-dev/attachments/20150413/0bc99f56/attachment.sig>
More information about the mesa-dev
mailing list