aboutsummaryrefslogtreecommitdiffstats
path: root/pugl/detail
diff options
context:
space:
mode:
Diffstat (limited to 'pugl/detail')
-rw-r--r--pugl/detail/implementation.c1
-rw-r--r--pugl/detail/mac.m1
-rw-r--r--pugl/detail/win.c2
-rw-r--r--pugl/detail/x11.c7
-rw-r--r--pugl/detail/x11_cairo.c2
-rw-r--r--pugl/detail/x11_gl.c5
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>