[cairo] [PATCH 70/71] drm: fix missing includes for fstat()

Enrico Weigelt, metux IT consult enrico.weigelt at gr13.net
Mon Apr 17 16:57:49 UTC 2017


---
 src/drm/cairo-drm.c | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/src/drm/cairo-drm.c b/src/drm/cairo-drm.c
index 7f6161f7c..c98f46237 100644
--- a/src/drm/cairo-drm.c
+++ b/src/drm/cairo-drm.c
@@ -42,6 +42,9 @@
 #include <fcntl.h>
 #include <unistd.h> /* open(), close() */
 #include <errno.h>
+#include <sys/types.h>
+#include <sys/stat.h>
+#include <unistd.h>
 
 static cairo_drm_device_t *_cairo_drm_known_devices;
 static cairo_drm_device_t *_cairo_drm_default_device;
-- 
2.11.0.rc0.7.gbe5a750



More information about the cairo mailing list