freedreno/replay: Fix implicit-function-declaration error
authorVinson Lee <vlee@freedesktop.org>
Sun, 17 Sep 2023 03:53:52 +0000 (20:53 -0700)
committerMarge Bot <emma+marge@anholt.net>
Mon, 18 Sep 2023 09:45:48 +0000 (09:45 +0000)
commit92012c9bec4c99b62bf467f1994147d67727f6f0
treeec321b5bbde9bb23081d761aae61906386dc9e43
parent63a3a9b23b0a042fb751ed8f4e31bda25cf2ee23
freedreno/replay: Fix implicit-function-declaration error

../src/freedreno/decode/replay.c: In function ‘safe_ioctl’:
../src/freedreno/decode/replay.c:608:13: error: implicit declaration of function ‘ioctl’ [-Werror=implicit-function-declaration]
  608 |       ret = ioctl(fd, request, arg);
      |             ^~~~~

Fixes: e3bbd1688b8 ("freedreno/replay: Add limited support for KGSL")
Signed-off-by: Vinson Lee <vlee@freedesktop.org>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/25264>
src/freedreno/decode/replay.c