Skip to content

Commit 601271c

Browse files
Fix includes
Add <sys/ioctl.h> include in files with prelims Signed-off-by: Szymon Morek <szymon.morek@intel.com>
1 parent c769365 commit 601271c

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
lines changed

opencl/test/unit_test/os_interface/linux/prelim_helper_func.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,8 @@
99

1010
#include "third_party/uapi/prelim/drm/i915_drm.h"
1111

12+
#include <sys/ioctl.h>
13+
1214
int handlePrelimRequests(unsigned long request, void *arg, int ioctlRetVal) {
1315
if (request == PRELIM_DRM_IOCTL_I915_GEM_CREATE_EXT) {
1416
auto createExtParams = static_cast<prelim_drm_i915_gem_create_ext *>(arg);

shared/source/os_interface/linux/ioctl_helper_prelim.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@
1414

1515
#include <cerrno>
1616
#include <cstring>
17+
#include <sys/ioctl.h>
1718

1819
namespace NEO {
1920

0 commit comments

Comments
 (0)