From 626a49c269351ab47ba8ab1847eae0d13fd62934 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Sat, 27 Jul 2019 21:48:21 +0200 Subject: Cleanup: Clean up includes and call IWYU in lint target --- pugl/detail/implementation.c | 1 + pugl/detail/mac.m | 1 + pugl/detail/win.c | 2 ++ pugl/detail/x11.c | 7 ++++++- pugl/detail/x11_cairo.c | 2 ++ pugl/detail/x11_gl.c | 5 +++++ 6 files changed, 17 insertions(+), 1 deletion(-) (limited to 'pugl/detail') diff --git a/pugl/detail/implementation.c b/pugl/detail/implementation.c index fd7ce81..45e21c5 100644 --- a/pugl/detail/implementation.c +++ b/pugl/detail/implementation.c @@ -21,6 +21,7 @@ #include "pugl/detail/implementation.h" #include "pugl/pugl.h" +#include #include #include diff --git a/pugl/detail/mac.m b/pugl/detail/mac.m index 83adcd1..78a6d39 100644 --- a/pugl/detail/mac.m +++ b/pugl/detail/mac.m @@ -23,6 +23,7 @@ #include "pugl/detail/implementation.h" #include "pugl/gl.h" +#include "pugl/pugl.h" #include "pugl/pugl_gl_backend.h" #ifdef PUGL_HAVE_CAIRO diff --git a/pugl/detail/win.c b/pugl/detail/win.c index cd7a781..6b56c07 100644 --- a/pugl/detail/win.c +++ b/pugl/detail/win.c @@ -20,10 +20,12 @@ #include "pugl/detail/implementation.h" #include "pugl/detail/win.h" +#include "pugl/pugl.h" #include #include +#include #include #include #include diff --git a/pugl/detail/x11.c b/pugl/detail/x11.c index 8b4c136..a076d6f 100644 --- a/pugl/detail/x11.c +++ b/pugl/detail/x11.c @@ -24,12 +24,17 @@ #include "pugl/detail/implementation.h" #include "pugl/detail/x11.h" +#include "pugl/pugl.h" -#include +#include #include #include #include +#include + +#include +#include #include #include #include diff --git a/pugl/detail/x11_cairo.c b/pugl/detail/x11_cairo.c index 97624a2..787c111 100644 --- a/pugl/detail/x11_cairo.c +++ b/pugl/detail/x11_cairo.c @@ -20,12 +20,14 @@ #include "pugl/detail/types.h" #include "pugl/detail/x11.h" +#include "pugl/pugl.h" #include "pugl/pugl_cairo_backend.h" #include #include #include +#include #include #include diff --git a/pugl/detail/x11_gl.c b/pugl/detail/x11_gl.c index 929d3a5..6ed8622 100644 --- a/pugl/detail/x11_gl.c +++ b/pugl/detail/x11_gl.c @@ -20,11 +20,16 @@ #include "pugl/detail/implementation.h" #include "pugl/detail/x11.h" +#include "pugl/pugl.h" #include "pugl/pugl_gl_backend.h" #include #include +#include +#include +#include +#include #include #include -- cgit v1.2.1