aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2023-10-21 09:53:46 -0400
committerDavid Robillard <d@drobilla.net>2023-10-21 09:53:46 -0400
commit757e15e5c25dabfb4b204339bacdeba9728117dc (patch)
treedc2515f8230ae219d5965864a00a4aac0ea22a71
parent0ec026a8f0514980e8b0e938841aef0e5b5530e2 (diff)
downloadpugl-757e15e5c25dabfb4b204339bacdeba9728117dc.tar.gz
pugl-757e15e5c25dabfb4b204339bacdeba9728117dc.tar.bz2
pugl-757e15e5c25dabfb4b204339bacdeba9728117dc.zip
Clean up includes
-rw-r--r--include/pugl/cairo.h1
-rw-r--r--include/pugl/gl.h1
-rw-r--r--include/pugl/stub.h1
-rw-r--r--include/pugl/vulkan.h1
-rw-r--r--src/x11_cairo.c1
5 files changed, 4 insertions, 1 deletions
diff --git a/include/pugl/cairo.h b/include/pugl/cairo.h
index 6727d8e..fda1191 100644
--- a/include/pugl/cairo.h
+++ b/include/pugl/cairo.h
@@ -4,6 +4,7 @@
#ifndef PUGL_CAIRO_H
#define PUGL_CAIRO_H
+#include "pugl/attributes.h"
#include "pugl/pugl.h"
PUGL_BEGIN_DECLS
diff --git a/include/pugl/gl.h b/include/pugl/gl.h
index efb22f3..ac7c557 100644
--- a/include/pugl/gl.h
+++ b/include/pugl/gl.h
@@ -4,6 +4,7 @@
#ifndef PUGL_GL_H
#define PUGL_GL_H
+#include "pugl/attributes.h"
#include "pugl/pugl.h"
// IWYU pragma: begin_exports
diff --git a/include/pugl/stub.h b/include/pugl/stub.h
index 01d7033..8bfe4d8 100644
--- a/include/pugl/stub.h
+++ b/include/pugl/stub.h
@@ -4,6 +4,7 @@
#ifndef PUGL_STUB_H
#define PUGL_STUB_H
+#include "pugl/attributes.h"
#include "pugl/pugl.h"
PUGL_BEGIN_DECLS
diff --git a/include/pugl/vulkan.h b/include/pugl/vulkan.h
index cc138df..a26ca8a 100644
--- a/include/pugl/vulkan.h
+++ b/include/pugl/vulkan.h
@@ -10,6 +10,7 @@
#ifndef PUGL_VULKAN_H
#define PUGL_VULKAN_H
+#include "pugl/attributes.h"
#include "pugl/pugl.h"
#include <vulkan/vulkan_core.h>
diff --git a/src/x11_cairo.c b/src/x11_cairo.c
index e9d0cea..d6fbaec 100644
--- a/src/x11_cairo.c
+++ b/src/x11_cairo.c
@@ -8,7 +8,6 @@
#include "pugl/cairo.h"
#include "pugl/pugl.h"
-#include <X11/Xutil.h>
#include <cairo-xlib.h>
#include <cairo.h>