summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFrancois Andriot <[email protected]>2013-06-06 20:34:46 +0200
committerSlávek Banko <[email protected]>2013-06-06 20:34:46 +0200
commit2d7006ac95a68cf61b6c6875ff4ce8f70d596f8b (patch)
tree5309bb2b57ec552c7a365e834d5f19ab17a4d83f
parent1791f4e576ae9619cc34768b66155d3d5af3b1a0 (diff)
downloadkvirc-2d7006ac95a68cf61b6c6875ff4ce8f70d596f8b.tar.gz
kvirc-2d7006ac95a68cf61b6c6875ff4ce8f70d596f8b.zip
Fix FTBFS because undefined macro TDE_DIR and TDE_LIBDIR
-rw-r--r--src/config.h.in6
-rw-r--r--src/kvirc/kernel/kvi_app_fs.cpp2
-rw-r--r--src/kvirc/kernel/kvi_app_setup.cpp2
3 files changed, 9 insertions, 1 deletions
diff --git a/src/config.h.in b/src/config.h.in
index 619fdd78..e298be37 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 <tqfileinfo.h>
#include <tqdatetime.h>
+#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 df427023..ccbbe815 100644
--- a/src/kvirc/kernel/kvi_app_setup.cpp
+++ b/src/kvirc/kernel/kvi_app_setup.cpp
@@ -66,7 +66,7 @@
#include <tqtextstream.h>
#include <tqdir.h>
-
+#include "config.h"
//