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 7facd8aca4479824b021a848bbaab8811c27feae..f1f7f5e5955a9edbbe52af630fcb59127d4b2c4e 100644 (file)
@@ -29,6 +29,8 @@
  */
 
 
+#include <string.h>
+
 #include "c11/threads.h"
 #include "glapi/glapi_priv.h"
 #include "u_execmem.h"