#ifndef _CL_ALLOCA_H
#define _CL_ALLOCA_H
-#include "cl_macros.h"
-#include <stdlib.h>
+#include "base/cl_macros.h"
+#include <cstdlib>
+
+namespace cln {
// Allocating temporary data of arbitrary size.
// We prefer to allocate it on the stack instead of via malloc(), because
#define cl_small_alloc_array(arrayeltype,arraysize) \
(arrayeltype*)cl_small_alloca((arraysize)*sizeof(arrayeltype))
+} // namespace cln
+
#endif /* _CL_ALLOCA_H */