Made compilable for non-Windows targets

This commit is contained in:
tazza-d 2020-04-13 22:42:53 +03:00 committed by GitHub
parent f6cf4c0e84
commit a836292b16
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -3,8 +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
#include <windows.h> #include <windows.h>
#include <freeimage.h> #else
#include <limits.h>
#define MAX_PATH PATH_MAX
#endif
#include "tim.h" #include "tim.h"