From 33caee123ae6e79f251d1cd9d45ca62332e8d55b Mon Sep 17 00:00:00 2001 From: Aldrik Ramaekers Date: Thu, 14 Mar 2024 17:32:37 +0100 Subject: unix building --- src/image.h | 3 ++- src/unix/main_unix.cpp | 1 + 2 files changed, 3 insertions(+), 1 deletion(-) (limited to 'src') diff --git a/src/image.h b/src/image.h index 7bfe5ec..6f99936 100644 --- a/src/image.h +++ b/src/image.h @@ -1,6 +1,8 @@ #ifndef INCLUDE_IMAGE #define INCLUDE_IMAGE +#include + #if defined(_WIN32) #ifndef WIN32_LEAN_AND_MEAN #define WIN32_LEAN_AND_MEAN @@ -8,7 +10,6 @@ #include #include #include -#include typedef struct t_ts_image { GLuint id; diff --git a/src/unix/main_unix.cpp b/src/unix/main_unix.cpp index 94e7681..9a73740 100644 --- a/src/unix/main_unix.cpp +++ b/src/unix/main_unix.cpp @@ -27,6 +27,7 @@ void ts_init(); GLFWwindow* glfw_window; bool program_running = true; +ts_dragdrop_data dragdrop_data = {0}; char config_path[MAX_INPUT_LENGTH]; static const char* _ts_platform_get_config_file_path(char* buffer) { -- cgit v1.2.3-70-g09d2