summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorمهدي شينون (Mehdi Chinoune) <79349457+MehdiChinoune@users.noreply.github.com>2022-04-15 09:34:24 +0100
committerGitHub <noreply@github.com>2022-04-15 15:34:24 +0700
commit7efcf4f935d0466b6ada44bed62d729cd2cddbc4 (patch)
tree5d132d314594015b825095a4a1e7537de6dfafed /tests
parent03495a4f95e325f8c7c1b5119c90032b7a52f3ae (diff)
downloadlibgd-7efcf4f935d0466b6ada44bed62d729cd2cddbc4.tar.gz
Some fixes for MINGW (#828)
* Enable webpng on MINGW * Detect GD version using cmake language * Use _aligned_malloc instead of posix_memalign on Windows * Include missing "errno.h" * Fix finding WEBP on MINGW * Fix finding XPM on MINGW * Use PkgConfig to find packages on MINGW * CI: Enable more options for MINGW
Diffstat (limited to 'tests')
-rw-r--r--tests/gdtest/gdtest.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/gdtest/gdtest.c b/tests/gdtest/gdtest.c
index 72b3758..f373469 100644
--- a/tests/gdtest/gdtest.c
+++ b/tests/gdtest/gdtest.c
@@ -9,6 +9,7 @@
#include <math.h>
#include <limits.h>
#include <time.h>
+#include <errno.h>
#ifdef HAVE_DIRENT_H
#include <dirent.h>