summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Stapelberg <michael@stapelberg.de>2013-07-12 19:57:44 +0200
committerMichael Stapelberg <michael@stapelberg.de>2013-07-12 19:57:44 +0200
commitc7eff39a5fb3552de57e52f737ea7ae59b1ef895 (patch)
treed63d37361ae814dbf9b66e6cc6c2e8ea966fe056
parentc7168980ec549c98bbfc13cf08d4edcbed62f34a (diff)
don’t define xcb_cursor_context_t twice (Thanks Thomas)
This fixes a compilation problem on NetBSD
-rw-r--r--cursor/cursor.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/cursor/cursor.h b/cursor/cursor.h
index a69f025..7d8c76b 100644
--- a/cursor/cursor.h
+++ b/cursor/cursor.h
@@ -32,6 +32,8 @@
#include <stdbool.h>
#include <xcb/render.h>
+#include "xcb_cursor.h"
+
enum {
RM_XCURSOR_THEME = 0,
RM_XCURSOR_SIZE,
@@ -61,7 +63,7 @@ typedef struct xcb_cursor_context_t {
const char *path;
bool render_present;
-} xcb_cursor_context_t;
+};
/*
* Cursor files start with a header. The header