From 608640b87dc47233940664632e3ab8f13972be2b Mon Sep 17 00:00:00 2001 From: Jon Turney Date: Thu, 17 Oct 2019 19:11:52 +0100 Subject: Fix Win32 build since c4ed2e06 "Add some unit testing utilities" Provide Win32 replacements for realpath() and err.h --- test/utils/font-test-utils.c | 3 +++ test/utils/lsfontdir.c | 3 +++ 2 files changed, 6 insertions(+) (limited to 'test/utils') diff --git a/test/utils/font-test-utils.c b/test/utils/font-test-utils.c index ff05061..da32e08 100644 --- a/test/utils/font-test-utils.c +++ b/test/utils/font-test-utils.c @@ -58,7 +58,10 @@ SOFTWARE. #include #include #include +#ifdef HAVE_ERR_H #include +#endif +#include "src/util/replace.h" #include static unsigned long server_generation; diff --git a/test/utils/lsfontdir.c b/test/utils/lsfontdir.c index 1f46599..23826cf 100644 --- a/test/utils/lsfontdir.c +++ b/test/utils/lsfontdir.c @@ -30,7 +30,10 @@ #include "font-test-utils.h" #include #include +#ifdef HAVE_ERR_H #include +#endif +#include "src/util/replace.h" int main(int argc, char **argv) -- cgit v1.2.3