summaryrefslogtreecommitdiffstats
path: root/src/mapi
diff options
context:
space:
mode:
authorPali Rohár <[email protected]>2015-04-23 22:02:07 +0100
committerJose Fonseca <[email protected]>2015-04-23 22:02:07 +0100
commit29f0f976bd82c04c6c569658c260feaade7394cd (patch)
tree98efc301c39cfbf8434d0ff4909c3d2e5fbc18ba /src/mapi
parent525be9c0791e4a447335307b5f225273b9da0cca (diff)
mapi: Adding missing string.h include.
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 <[email protected]>
Diffstat (limited to 'src/mapi')
-rw-r--r--src/mapi/glapi/glapi_entrypoint.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/mapi/glapi/glapi_entrypoint.c b/src/mapi/glapi/glapi_entrypoint.c
index 7facd8aca44..f1f7f5e5955 100644
--- 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"