aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2020-03-16 21:55:34 +0100
committerDavid Robillard <d@drobilla.net>2020-03-16 21:55:34 +0100
commit163748d173af0ebeeec80b1e414169e72d23bb24 (patch)
tree67edaa3d95a9225cea117c9325c635e9b7cbc603
parentbff5416775951d71d308709cc692c8e367c31d4d (diff)
downloadpugl-163748d173af0ebeeec80b1e414169e72d23bb24.tar.gz
pugl-163748d173af0ebeeec80b1e414169e72d23bb24.tar.bz2
pugl-163748d173af0ebeeec80b1e414169e72d23bb24.zip
Cleanup: Add missing includes
-rw-r--r--pugl/detail/x11.h2
-rw-r--r--test/test_timer.c2
2 files changed, 4 insertions, 0 deletions
diff --git a/pugl/detail/x11.h b/pugl/detail/x11.h
index 6f86a90..6b7a150 100644
--- a/pugl/detail/x11.h
+++ b/pugl/detail/x11.h
@@ -26,6 +26,8 @@
#include <X11/Xutil.h>
#include <stdbool.h>
+#include <stddef.h>
+#include <stdint.h>
typedef struct {
Atom CLIPBOARD;
diff --git a/test/test_timer.c b/test/test_timer.c
index 341b4f3..11666ec 100644
--- a/test/test_timer.c
+++ b/test/test_timer.c
@@ -30,6 +30,8 @@
#include <math.h>
#include <stdbool.h>
#include <stddef.h>
+#include <stdint.h>
+#include <stdio.h>
#ifdef __APPLE__
static const double timeout = 1 / 60.0;