mirror of
https://github.com/intel/compute-runtime.git
synced 2025-12-25 05:24:02 +08:00
Fix includes
Add <sys/ioctl.h> include in files with prelims Signed-off-by: Szymon Morek <szymon.morek@intel.com>
This commit is contained in:
committed by
Compute-Runtime-Automation
parent
c7693650de
commit
601271c92e
@@ -9,6 +9,8 @@
|
||||
|
||||
#include "third_party/uapi/prelim/drm/i915_drm.h"
|
||||
|
||||
#include <sys/ioctl.h>
|
||||
|
||||
int handlePrelimRequests(unsigned long request, void *arg, int ioctlRetVal) {
|
||||
if (request == PRELIM_DRM_IOCTL_I915_GEM_CREATE_EXT) {
|
||||
auto createExtParams = static_cast<prelim_drm_i915_gem_create_ext *>(arg);
|
||||
|
||||
@@ -14,6 +14,7 @@
|
||||
|
||||
#include <cerrno>
|
||||
#include <cstring>
|
||||
#include <sys/ioctl.h>
|
||||
|
||||
namespace NEO {
|
||||
|
||||
|
||||
Reference in New Issue
Block a user