summaryrefslogtreecommitdiffstats
path: root/src/egl
diff options
context:
space:
mode:
authorEric Engestrom <[email protected]>2019-06-11 13:19:35 +0100
committerEric Engestrom <[email protected]>2019-06-19 12:05:58 +0000
commit4db2c1e2fe7fcdae6e33e56c26a8a2f9285f1d1f (patch)
tree8299424a55f074715ea551c6a976aeceb29f39fc /src/egl
parent0a313cc285c2939de9cac07f045b0b699bc208ca (diff)
egl: add missing #include
close() is in <unistd.h> Signed-off-by: Eric Engestrom <[email protected]> Reviewed-by: Tapani Pälli <[email protected]> Reviewed-by: Emil Velikov <[email protected]>
Diffstat (limited to 'src/egl')
-rw-r--r--src/egl/main/egldisplay.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/egl/main/egldisplay.c b/src/egl/main/egldisplay.c
index f09b2e96403..acb0405822f 100644
--- a/src/egl/main/egldisplay.c
+++ b/src/egl/main/egldisplay.c
@@ -35,6 +35,7 @@
#include <assert.h>
#include <stdlib.h>
#include <string.h>
+#include <unistd.h>
#include <fcntl.h>
#include "c11/threads.h"
#include "util/u_atomic.h"