Made compilable for non-Windows targets

This commit is contained in:
tazza-d 2020-04-13 22:58:22 +03:00 committed by GitHub
parent 2618c8e8b0
commit 7f2d42428b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -3,13 +3,13 @@
#include <ctype.h> #include <ctype.h>
#include <math.h> #include <math.h>
#include <unistd.h> #include <unistd.h>
#include <FreeImage.h>
#ifdef _WIN32 #ifdef _WIN32
#include <windows.h> #include <windows.h>
#else #else
#include <limits.h> #include <limits.h>
#define MAX_PATH PATH_MAX #define MAX_PATH PATH_MAX
#endif #endif
#include <FreeImage.h>
#include "tim.h" #include "tim.h"