summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAldrik Ramaekers <aldrikboy@gmail.com>2024-03-14 17:32:37 +0100
committerAldrik Ramaekers <aldrikboy@gmail.com>2024-03-14 17:32:37 +0100
commit33caee123ae6e79f251d1cd9d45ca62332e8d55b (patch)
tree6b9ff1aba495607cf52e68043d4fd4715cdba7c3 /src
parent28b00896a8cb94663a3d35313ee7d771d4af11e0 (diff)
unix building
Diffstat (limited to 'src')
-rw-r--r--src/image.h3
-rw-r--r--src/unix/main_unix.cpp1
2 files changed, 3 insertions, 1 deletions
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 <cstdint>
+
#if defined(_WIN32)
#ifndef WIN32_LEAN_AND_MEAN
#define WIN32_LEAN_AND_MEAN
@@ -8,7 +10,6 @@
#include <windows.h>
#include <GL/GL.h>
#include <tchar.h>
-#include <cstdint>
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) {