summaryrefslogtreecommitdiff
path: root/opencl/inc
diff options
context:
space:
mode:
authorGabor Kelemen <kelemen.gabor2@nisz.hu>2019-05-14 01:02:55 +0200
committerMiklos Vajna <vmiklos@collabora.com>2019-05-29 09:11:52 +0200
commit61b7525869178464e100085e0f9a66ffc008e483 (patch)
tree5fec15ed23d6fca1757b01b629883070959b7cee /opencl/inc
parent42f0286c0ec68dde36cf3cef15f8a6e2e7ec1830 (diff)
tdf#42949 Fix IWYU warnings in opencl/
Found with bin/find-unneeded-includes Only removal proposals are dealt with here. Change-Id: I0aedc40c49c8cb1382f45571f54873d6017ec62c Reviewed-on: https://gerrit.libreoffice.org/72637 Tested-by: Jenkins Reviewed-by: Miklos Vajna <vmiklos@collabora.com>
Diffstat (limited to 'opencl/inc')
-rw-r--r--opencl/inc/opencl_device.hxx5
-rw-r--r--opencl/inc/opencl_device_selection.h3
2 files changed, 3 insertions, 5 deletions
diff --git a/opencl/inc/opencl_device.hxx b/opencl/inc/opencl_device.hxx
index b69cbabc28a5..93cc5f7a1271 100644
--- a/opencl/inc/opencl_device.hxx
+++ b/opencl/inc/opencl_device.hxx
@@ -10,9 +10,10 @@
#ifndef INCLUDED_OPENCL_INC_OPENCL_DEVICE_HXX
#define INCLUDED_OPENCL_INC_OPENCL_DEVICE_HXX
-#include <opencl/openclwrapper.hxx>
+#include <rtl/ustring.hxx>
-#include "opencl_device_selection.h"
+namespace openclwrapper { struct GPUEnv; }
+struct ds_device;
ds_device const & getDeviceSelection(OUString const & pFileName, bool bForceSelection);
diff --git a/opencl/inc/opencl_device_selection.h b/opencl/inc/opencl_device_selection.h
index 982b65a5187c..2acb67047c4e 100644
--- a/opencl/inc/opencl_device_selection.h
+++ b/opencl/inc/opencl_device_selection.h
@@ -17,9 +17,6 @@
#include <memory>
#include <float.h>
-#include <stdlib.h>
-#include <stdio.h>
-#include <string.h>
#include <clew/clew.h>
#include <tools/stream.hxx>