Revert "evas: this headers order are seriously insane..."
authorTom Hacohen <tom@stosb.com>
Thu, 21 Nov 2013 10:55:37 +0000 (10:55 +0000)
committerTom Hacohen <tom@stosb.com>
Thu, 21 Nov 2013 10:55:37 +0000 (10:55 +0000)
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
src/lib/evas/include/evas_common_private.h

index fbe83e1..c6d6ce3 100644 (file)
@@ -4,6 +4,8 @@
 
 #include <assert.h>
 
+#include "evas_font_ot.h" /* USE_HARFBUZZ */
+
 #ifdef USE_HARFBUZZ
 # include <hb.h>
 #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 <freetype/tttables.h> /* Freetype2 OS/2 font table. */
 
index 4f48fd4..16b7b40 100644 (file)
@@ -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 <stdlib.h>