From c18ce8569e755b53c8cd484ef4f435944914ceca Mon Sep 17 00:00:00 2001 From: Dor Askayo Date: Tue, 7 Jun 2022 21:04:05 +0300 Subject: [PATCH] tests/wayland: Add a missing "include" MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This avoids the following error: ../src/tests/wayland-test-clients/dma-buf-scanout.c:100:5: error: implicit declaration of function ‘close’; did you mean ‘pclose’? [-Werror=implicit-function-declaration] 100 | close (buffer->dmabuf_fds[i]); | ^~~~~ | pclose Part-of: --- src/tests/wayland-test-clients/dma-buf-scanout.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/tests/wayland-test-clients/dma-buf-scanout.c b/src/tests/wayland-test-clients/dma-buf-scanout.c index 74b132c34..25b906696 100644 --- a/src/tests/wayland-test-clients/dma-buf-scanout.c +++ b/src/tests/wayland-test-clients/dma-buf-scanout.c @@ -46,6 +46,7 @@ #include #include #include +#include #include #include "wayland-test-client-utils.h"