From d229a88a58d26c82e32dddfad1f5098d3880604d Mon Sep 17 00:00:00 2001 From: J M Dieterich <dieterich@ogolem.org> Date: Fri, 9 Oct 2015 23:36:46 -0400 Subject: [PATCH] Include missing string headers for the string from char[] construction. FreeBSD's compiler and stdlib combination otherwise throws an error. --- com.amd.aparapi.jni/src/cpp/CLHelper.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/com.amd.aparapi.jni/src/cpp/CLHelper.cpp b/com.amd.aparapi.jni/src/cpp/CLHelper.cpp index acf91311..d7afc8fe 100644 --- a/com.amd.aparapi.jni/src/cpp/CLHelper.cpp +++ b/com.amd.aparapi.jni/src/cpp/CLHelper.cpp @@ -42,6 +42,7 @@ #include <map> #include <vector> #include <stdio.h> +#include <string> void setMap(std::map<cl_int, const char*>& errorMap) { errorMap[CL_SUCCESS] = "success"; -- GitLab