summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMaarten ter Huurne <maarten@treewalker.org>2013-09-19 22:36:57 +0200
committerMaarten ter Huurne <maarten@treewalker.org>2013-09-20 04:14:12 +0200
commitb2ccda958a431209478cf14b27f40f9b609ea4df (patch)
tree350a872902f3cbad2b372a2d075db3489fbb960a
parent23a0d9edd2194df0edc4d47cfdd38a46ae8c61db (diff)
Added missing #includes
malloc needs stdlib.h memset needs string.h
-rw-r--r--native/egl/ps_sandbox.c1
-rw-r--r--native/replay/cube_companion.c1
2 files changed, 2 insertions, 0 deletions
diff --git a/native/egl/ps_sandbox.c b/native/egl/ps_sandbox.c
index a7fc72c..589a2a2 100644
--- a/native/egl/ps_sandbox.c
+++ b/native/egl/ps_sandbox.c
@@ -32,6 +32,7 @@
#include <sys/stat.h>
#include <sys/mman.h>
#include <stdarg.h>
+#include <stdlib.h>
#include "esTransform.h"
#include "eglutil.h"
diff --git a/native/replay/cube_companion.c b/native/replay/cube_companion.c
index 20de0d9..91c899c 100644
--- a/native/replay/cube_companion.c
+++ b/native/replay/cube_companion.c
@@ -7,6 +7,7 @@
#include <sys/stat.h>
#include <sys/mman.h>
#include <stdarg.h>
+#include <string.h>
#include "write_bmp.h"
#include "viv_raw.h"