util: Fix compiling set_dmabuf_name() using older kernel headers
The DMA_BUF_SET_NAME_B
ioctl isn't defined in older versions of kernel'sdma-buf.h and compilation fails in that case. Check whether ioctl is defined rather than header file presents to fix the build issue reported on !1330 (comment 2360461)
Edited by Dmitry Osipenko
Merge request reports
Activity
Please register or sign in to reply