diff --git a/cursor/Makefile.am b/cursor/Makefile.am index 39875464..61029b50 100644 --- a/cursor/Makefile.am +++ b/cursor/Makefile.am @@ -6,6 +6,7 @@ libwayland_cursor_la_SOURCES = \ wayland-cursor.c \ os-compatibility.c \ os-compatibility.h \ + cursor-data.h \ xcursor.c \ xcursor.h libwayland_cursor_la_LIBADD = $(top_builddir)/src/libwayland-client.la diff --git a/cursor/convert_font.c b/cursor/convert_font.c index f2971252..de1b8ad5 100644 --- a/cursor/convert_font.c +++ b/cursor/convert_font.c @@ -359,7 +359,7 @@ static void write_output_file(struct reconstructed_glyph *glyphs, int n) { int i, j, counter, size; - FILE *file = fopen("cursor_data.c", "w"); + FILE *file = fopen("cursor-data.h", "w"); uint32_t *data; fprintf(file, "%s\n", cursor_licence); diff --git a/cursor/cursor_data.c b/cursor/cursor-data.h similarity index 100% rename from cursor/cursor_data.c rename to cursor/cursor-data.h diff --git a/cursor/wayland-cursor.c b/cursor/wayland-cursor.c index 33fed04b..0d1fec76 100644 --- a/cursor/wayland-cursor.c +++ b/cursor/wayland-cursor.c @@ -181,7 +181,7 @@ wl_cursor_destroy(struct wl_cursor *cursor) free(cursor); } -#include "cursor_data.c" +#include "cursor-data.h" static struct wl_cursor * wl_cursor_create_from_data(struct cursor_metadata *metadata,