Skip to content
Snippets Groups Projects

util: Fix compiling set_dmabuf_name() using older kernel headers

Merged Dmitry Osipenko requested to merge digetx/virglrenderer:fix-set_dmabuf_name into main

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)

Cc: @pepp @theofficialgman

Edited by Dmitry Osipenko

Merge request reports

Loading
Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
Please register or sign in to reply
Loading