From 4b4da735587ea7a1c1bb253fd796828f7fae3bf1 Mon Sep 17 00:00:00 2001 From: "Reece H. Dunn" Date: Sun, 24 Sep 2017 09:53:13 +0100 Subject: [PATCH] mbrowrap: fix building on Windows. --- src/libespeak-ng/mbrowrap.c | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/src/libespeak-ng/mbrowrap.c b/src/libespeak-ng/mbrowrap.c index 6214f37d..01333248 100644 --- a/src/libespeak-ng/mbrowrap.c +++ b/src/libespeak-ng/mbrowrap.c @@ -18,6 +18,11 @@ */ #include "config.h" + +#if defined(_WIN32) || defined(_WIN64) +#include +#endif + #include "mbrowrap.h" int (WINAPI *init_MBR)(char *voice_path); @@ -33,9 +38,6 @@ void (WINAPI *setNoError_MBR)(int no_error); #if defined(_WIN32) || defined(_WIN64) -#include - - HINSTANCE hinstDllMBR = NULL; BOOL load_MBR()