From b5d3fe0aa61107b1f2dbf603b1fe952955dff33c Mon Sep 17 00:00:00 2001 From: Chia-I Wu Date: Tue, 29 Sep 2020 15:03:47 -0700 Subject: [PATCH] vrend: fix VIRGL_RENDERER_THREAD_SYNC It was broken since the switch to meson. Signed-off-by: Chia-I Wu Reviewed-by: Gert Wollny --- src/vrend_renderer.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/vrend_renderer.c b/src/vrend_renderer.c index eb3b891..70a7660 100644 --- a/src/vrend_renderer.c +++ b/src/vrend_renderer.c @@ -57,7 +57,7 @@ #include "tgsi/tgsi_text.h" -#ifdef HAVE_EVENTFD +#ifdef HAVE_EVENTFD_H #include #endif @@ -5743,7 +5743,7 @@ static bool do_wait(struct vrend_fence *fence, bool can_block) return done; } -#ifdef HAVE_EVENTFD +#ifdef HAVE_EVENTFD_H static ssize_t write_full(int fd, const void *ptr, size_t count) {