egl: add missing #include
authorEric Engestrom <eric.engestrom@intel.com>
Tue, 11 Jun 2019 12:19:35 +0000 (13:19 +0100)
committerEric Engestrom <eric@engestrom.ch>
Wed, 19 Jun 2019 12:05:58 +0000 (12:05 +0000)
close() is in <unistd.h>

Signed-off-by: Eric Engestrom <eric.engestrom@intel.com>
Reviewed-by: Tapani Pälli <tapani.palli@intel.com>
Reviewed-by: Emil Velikov <emil.velikov@collabora.com>
src/egl/main/egldisplay.c

index f09b2e96403bb2f945676ec2a5ac92dcd1818ada..acb0405822fbd0b023958ff24c7d58efaa49cb42 100644 (file)
@@ -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"