mapi: Adding missing string.h include.
authorPali Rohár <pali.rohar@gmail.com>
Thu, 23 Apr 2015 21:02:07 +0000 (22:02 +0100)
committerJose 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

index 7facd8a..f1f7f5e 100644 (file)
@@ -29,6 +29,8 @@
  */
 
 
+#include <string.h>
+
 #include "c11/threads.h"
 #include "glapi/glapi_priv.h"
 #include "u_execmem.h"