linuxdmabuf: Add unistd.h include

Don't rely on someone else to pull it in for `close()`

Signed-off-by: Eike Hein <eike.hein@mbition.io>
This commit is contained in:
Kai Uwe Broulik 2022-02-22 09:19:31 +01:00 committed by Eike Hein
parent 62637c1a92
commit 6e4acb4303

View file

@ -18,6 +18,7 @@
#include <QTemporaryFile> #include <QTemporaryFile>
#include <fcntl.h> #include <fcntl.h>
#include <errno.h> #include <errno.h>
#include <unistd.h>
namespace KWaylandServer namespace KWaylandServer
{ {