diff options
Diffstat (limited to 'pool-buffer.h')
-rw-r--r-- | pool-buffer.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/pool-buffer.h b/pool-buffer.h index 1549041..e07802d 100644 --- a/pool-buffer.h +++ b/pool-buffer.h @@ -1,4 +1,7 @@ /* Taken from sway. MIT licensed */ +#ifndef WMENU_POOL_BUFFER_H +#define WMENU_POOL_BUFFER_H + #include <cairo.h> #include <pango/pangocairo.h> #include <stdbool.h> @@ -19,3 +22,5 @@ struct pool_buffer { struct pool_buffer *get_next_buffer(struct wl_shm *shm, struct pool_buffer pool[static 2], int32_t width, int32_t height, int32_t scale); void destroy_buffer(struct pool_buffer *buffer); + +#endif |