summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--desktop/source/app/opencl.cxx2
1 files changed, 2 insertions, 0 deletions
diff --git a/desktop/source/app/opencl.cxx b/desktop/source/app/opencl.cxx
index 521d225d13b8..7eb83392f9f7 100644
--- a/desktop/source/app/opencl.cxx
+++ b/desktop/source/app/opencl.cxx
@@ -28,7 +28,9 @@
#include <com/sun/star/sheet/XSpreadsheets.hpp>
#include <com/sun/star/sheet/XSpreadsheetDocument.hpp>
+#if HAVE_FEATURE_OPENCL
#include <opencl/openclwrapper.hxx>
+#endif
#include <opencl/OpenCLZone.hxx>
#include <osl/file.hxx>