From: DRC Date: Fri, 16 Mar 2018 19:09:53 +0000 (-0500) Subject: turbojpeg.c: Fix Windows build X-Git-Tag: 1.5.90~18 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=29e453f7c0d69df7e92efcc8293ff8d32f579c25;p=libjpeg-turbo 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().) --- 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"