From 50346f101bef202bcbdb4b8758f6d60ce949ce8a Mon Sep 17 00:00:00 2001 From: Francois Andriot Date: Thu, 6 Jun 2013 20:34:46 +0200 Subject: Fix FTBFS because undefined macro TDE_DIR and TDE_LIBDIR (cherry picked from commit 2d7006ac95a68cf61b6c6875ff4ce8f70d596f8b) --- src/config.h.in | 6 ++++++ src/kvirc/kernel/kvi_app_fs.cpp | 2 ++ src/kvirc/kernel/kvi_app_setup.cpp | 2 +- 3 files changed, 9 insertions(+), 1 deletion(-) diff --git a/src/config.h.in b/src/config.h.in index 3084f017..e8ef18e6 100644 --- a/src/config.h.in +++ b/src/config.h.in @@ -267,3 +267,9 @@ /* Define to 1 if you need to in order for `stat' and other things to work. */ #undef _POSIX_SOURCE + +/* TDE directory */ +#undef TDE_DIR + +/* TDE Library directory */ +#undef TDE_LIBDIR diff --git a/src/kvirc/kernel/kvi_app_fs.cpp b/src/kvirc/kernel/kvi_app_fs.cpp index 42d23706..ce2208dc 100644 --- a/src/kvirc/kernel/kvi_app_fs.cpp +++ b/src/kvirc/kernel/kvi_app_fs.cpp @@ -39,6 +39,8 @@ #include #include +#include "config.h" + extern KviMediaManager * g_pMediaManager; //============ getGlobalKvircDirectory ================// diff --git a/src/kvirc/kernel/kvi_app_setup.cpp b/src/kvirc/kernel/kvi_app_setup.cpp index 8bc98fdd..64f92955 100644 --- a/src/kvirc/kernel/kvi_app_setup.cpp +++ b/src/kvirc/kernel/kvi_app_setup.cpp @@ -66,7 +66,7 @@ #include #include - +#include "config.h" // -- cgit v1.2.1