summaryrefslogtreecommitdiffstats
path: root/src/egl/drivers/dri2
diff options
context:
space:
mode:
authorEmil Velikov <[email protected]>2017-05-04 18:55:36 +0100
committerEmil Velikov <[email protected]>2017-05-08 15:33:59 +0100
commit239e7ee91bd324bf82a37924546c4ea472e2dd2b (patch)
tree36ede0e817b73ebcb070e8d62e81c51ad9a23984 /src/egl/drivers/dri2
parent8d6f92313d8077bcff193a30486b875d93cdf5d5 (diff)
egl: remove suprous header eglcompiler.h
The header is used only to provide STATIC_ASSERT. The latter is already available in utils/macros.h so use that instead and kill of the header. Signed-off-by: Emil Velikov <[email protected]> Reviewed-by: Eric Engestrom <[email protected]> Reviewed-by: Chad Versace <[email protected]>
Diffstat (limited to 'src/egl/drivers/dri2')
-rw-r--r--src/egl/drivers/dri2/platform_x11.c1
-rw-r--r--src/egl/drivers/dri2/platform_x11_dri3.c1
2 files changed, 2 insertions, 0 deletions
diff --git a/src/egl/drivers/dri2/platform_x11.c b/src/egl/drivers/dri2/platform_x11.c
index c78656a5be1..3bce0bb3f21 100644
--- a/src/egl/drivers/dri2/platform_x11.c
+++ b/src/egl/drivers/dri2/platform_x11.c
@@ -40,6 +40,7 @@
#endif
#include <sys/types.h>
#include <sys/stat.h>
+#include "util/macros.h"
#include "egl_dri2.h"
#include "egl_dri2_fallbacks.h"
diff --git a/src/egl/drivers/dri2/platform_x11_dri3.c b/src/egl/drivers/dri2/platform_x11_dri3.c
index c4a54431cce..041da3208de 100644
--- a/src/egl/drivers/dri2/platform_x11_dri3.c
+++ b/src/egl/drivers/dri2/platform_x11_dri3.c
@@ -30,6 +30,7 @@
#include <xcb/present.h>
#include <xf86drm.h>
+#include "util/macros.h"
#include "egl_dri2.h"
#include "egl_dri2_fallbacks.h"