diff options
author | David Robillard <d@drobilla.net> | 2019-07-27 21:48:21 +0200 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2019-07-29 01:59:27 +0200 |
commit | 626a49c269351ab47ba8ab1847eae0d13fd62934 (patch) | |
tree | 1f1c11186f4f4bc390a3494487dbf57707283ca8 /pugl/detail | |
parent | 560bcf2ad4d73b79d6e9e4c1c7965d7617a3a41d (diff) | |
download | pugl-626a49c269351ab47ba8ab1847eae0d13fd62934.tar.gz pugl-626a49c269351ab47ba8ab1847eae0d13fd62934.tar.bz2 pugl-626a49c269351ab47ba8ab1847eae0d13fd62934.zip |
Cleanup: Clean up includes and call IWYU in lint target
Diffstat (limited to 'pugl/detail')
-rw-r--r-- | pugl/detail/implementation.c | 1 | ||||
-rw-r--r-- | pugl/detail/mac.m | 1 | ||||
-rw-r--r-- | pugl/detail/win.c | 2 | ||||
-rw-r--r-- | pugl/detail/x11.c | 7 | ||||
-rw-r--r-- | pugl/detail/x11_cairo.c | 2 | ||||
-rw-r--r-- | pugl/detail/x11_gl.c | 5 |
6 files changed, 17 insertions, 1 deletions
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 <stdbool.h> #include <stdlib.h> #include <string.h> 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 <windows.h> #include <windowsx.h> +#include <stdbool.h> #include <stdio.h> #include <stdlib.h> #include <string.h> 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 <X11/Xatom.h> +#include <X11/X.h> #include <X11/Xlib.h> #include <X11/Xutil.h> #include <X11/keysym.h> +#include <sys/time.h> + +#include <stdbool.h> +#include <stdint.h> #include <stdio.h> #include <stdlib.h> #include <string.h> 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 <X11/Xutil.h> #include <cairo-xlib.h> #include <cairo.h> +#include <stdbool.h> #include <stdio.h> #include <stdlib.h> 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 <GL/gl.h> #include <GL/glx.h> +#include <X11/X.h> +#include <X11/Xlib.h> +#include <X11/Xutil.h> +#include <stdbool.h> #include <stdio.h> #include <stdlib.h> |