diff options
author | Michael Stapelberg <michael@stapelberg.de> | 2013-07-12 19:57:44 +0200 |
---|---|---|
committer | Michael Stapelberg <michael@stapelberg.de> | 2013-07-12 19:57:44 +0200 |
commit | c7eff39a5fb3552de57e52f737ea7ae59b1ef895 (patch) | |
tree | d63d37361ae814dbf9b66e6cc6c2e8ea966fe056 | |
parent | c7168980ec549c98bbfc13cf08d4edcbed62f34a (diff) |
don’t define xcb_cursor_context_t twice (Thanks Thomas)
This fixes a compilation problem on NetBSD
-rw-r--r-- | cursor/cursor.h | 4 |
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 |