From 29e453f7c0d69df7e92efcc8293ff8d32f579c25 Mon Sep 17 00:00:00 2001 From: DRC Date: Fri, 16 Mar 2018 14:09:53 -0500 Subject: [PATCH] turbojpeg.c: Fix Windows build Broken by previous commit. Although turbojpeg.c no longer needs tjutil.h on Un*x, it still needs to include that file on Windows in order to use snprintf() and strcasecmp() (which, on Windows, are macros that wrap _snprintf_s() and stricmp().) --- turbojpeg.c | 1 + 1 file changed, 1 insertion(+) diff --git a/turbojpeg.c b/turbojpeg.c index 847cf6f..bb061a2 100644 --- a/turbojpeg.c +++ b/turbojpeg.c @@ -39,6 +39,7 @@ #include #include #include "./turbojpeg.h" +#include "./tjutil.h" #include "transupp.h" #include "./jpegcomp.h" #include "./cdjpeg.h" -- 2.40.0