From 13daf095d989d054374c9ea7df7dbd590da229a5 Mon Sep 17 00:00:00 2001 From: XMRig Date: Wed, 4 Sep 2019 12:13:04 +0700 Subject: [PATCH] Fixed Linux build. --- src/backend/opencl/runners/tools/OclCnR.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/backend/opencl/runners/tools/OclCnR.h b/src/backend/opencl/runners/tools/OclCnR.h index 03db672f6..d4b5bb064 100644 --- a/src/backend/opencl/runners/tools/OclCnR.h +++ b/src/backend/opencl/runners/tools/OclCnR.h @@ -26,10 +26,11 @@ #define XMRIG_OCLCNR_H -#include +#include +#include -typedef struct _cl_program *cl_program; +using cl_program = struct _cl_program *; namespace xmrig {