fix windows building

This commit is contained in:
William Bell
2025-10-21 20:57:22 +01:00
parent c8394228b3
commit e6ec0fa38a

View File

@@ -19,6 +19,9 @@
#include <stdint.h> #include <stdint.h>
#include <stdlib.h> #include <stdlib.h>
#include <unistd.h> #include <unistd.h>
#ifdef _WIN32
#include <windows.h>
#endif
char *get_current_directory() { char *get_current_directory() {
char *buffer = NULL; char *buffer = NULL;