projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
525be9c
)
mapi: Adding missing string.h include.
author
Pali Rohár
<pali.rohar@gmail.com>
Thu, 23 Apr 2015 21:02:07 +0000
(22:02 +0100)
committer
Jose Fonseca
<jfonseca@vmware.com>
Thu, 23 Apr 2015 21:02:07 +0000
(22:02 +0100)
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'.
Signed-off-by: Jose Fonseca <jfonseca@vmware.com>
src/mapi/glapi/glapi_entrypoint.c
patch
|
blob
|
history
diff --git
a/src/mapi/glapi/glapi_entrypoint.c
b/src/mapi/glapi/glapi_entrypoint.c
index 7facd8aca4479824b021a848bbaab8811c27feae..f1f7f5e5955a9edbbe52af630fcb59127d4b2c4e 100644
(file)
--- a/
src/mapi/glapi/glapi_entrypoint.c
+++ b/
src/mapi/glapi/glapi_entrypoint.c
@@
-29,6
+29,8
@@
*/
+#include <string.h>
+
#include "c11/threads.h"
#include "glapi/glapi_priv.h"
#include "u_execmem.h"