summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--get_global_id_2d.c1
-rw-r--r--loop.c1
2 files changed, 2 insertions, 0 deletions
diff --git a/get_global_id_2d.c b/get_global_id_2d.c
index f127d3a..f256b71 100644
--- a/get_global_id_2d.c
+++ b/get_global_id_2d.c
@@ -1,4 +1,5 @@
#include <assert.h>
+#include <stdlib.h>
#include <stdio.h>
#include <CL/cl.h>
diff --git a/loop.c b/loop.c
index b7e5fa7..6c60d6b 100644
--- a/loop.c
+++ b/loop.c
@@ -1,4 +1,5 @@
#include <assert.h>
+#include <stdlib.h>
#include <stdio.h>
#include <CL/cl.h>