From 86c08e6985d5b213c6227d7cb7bc73177aade66e Mon Sep 17 00:00:00 2001 From: Tom Hacohen Date: Thu, 21 Nov 2013 10:55:37 +0000 Subject: [PATCH] Revert "evas: this headers order are seriously insane..." Perhaps they are insane, but as the comments imply it defines USE_HARFBUZZ which is needed afterwards. You just broke everything. I know it's a mess there, but it's a mess that works. Your change doesn't. This reverts commit d4b9e3b287d01fe12462fba872db18de0f7a407a. --- src/lib/evas/common/evas_font_load.c | 4 ++-- src/lib/evas/include/evas_common_private.h | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/lib/evas/common/evas_font_load.c b/src/lib/evas/common/evas_font_load.c index fbe83e18ec..c6d6ce3eda 100644 --- a/src/lib/evas/common/evas_font_load.c +++ b/src/lib/evas/common/evas_font_load.c @@ -4,6 +4,8 @@ #include +#include "evas_font_ot.h" /* USE_HARFBUZZ */ + #ifdef USE_HARFBUZZ # include #endif @@ -11,8 +13,6 @@ #include "evas_common_private.h" #include "evas_private.h" -#include "evas_font_ot.h" /* USE_HARFBUZZ */ - #include "evas_font_private.h" /* for Frame-Queuing support */ #include /* Freetype2 OS/2 font table. */ diff --git a/src/lib/evas/include/evas_common_private.h b/src/lib/evas/include/evas_common_private.h index 4f48fd4aaf..16b7b40468 100644 --- a/src/lib/evas/include/evas_common_private.h +++ b/src/lib/evas/include/evas_common_private.h @@ -1,9 +1,9 @@ #ifndef EVAS_COMMON_H #define EVAS_COMMON_H -#ifdef HAVE_CONFIG_H +//#ifdef HAVE_CONFIG_H #include "config.h" /* so that EAPI in Evas.h is correctly defined */ -#endif +//#endif #ifdef STDC_HEADERS # include