tests/wayland: Add a missing "include"

This avoids the following error:

  ../src/tests/wayland-test-clients/dma-buf-scanout.c💯5: error:
    implicit declaration of function ‘close’; did you mean ‘pclose’?
    [-Werror=implicit-function-declaration]
    100 |     close (buffer->dmabuf_fds[i]);
        |     ^~~~~
        |     pclose

Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/2458>
This commit is contained in:
Dor Askayo 2022-06-07 21:04:05 +03:00
parent d1a85c34cc
commit c18ce8569e

View File

@ -46,6 +46,7 @@
#include <fcntl.h>
#include <gbm.h>
#include <glib.h>
#include <unistd.h>
#include <wayland-client.h>
#include "wayland-test-client-utils.h"