From 523aad918a0c91061ac07c03d756bacb5166b801 Mon Sep 17 00:00:00 2001 From: d4yvector Date: Wed, 27 Nov 2019 14:05:30 +0900 Subject: [PATCH] fix(font): fix to get the correct file path Change to include config.h. However, applying this change will cause memory leak in make test. --- src/font/fontconfig.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/font/fontconfig.c b/src/font/fontconfig.c index 0ef047f08..f256a2260 100644 --- a/src/font/fontconfig.c +++ b/src/font/fontconfig.c @@ -28,6 +28,8 @@ * POSSIBILITY OF SUCH DAMAGE. */ +#include "config.h" + #ifndef LCUI_BUILD_IN_WIN32 #include