summaryrefslogtreecommitdiffstats
path: root/twin/compton-tde/common.h
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2014-04-01 21:50:50 +0000
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2014-04-01 21:51:38 +0000
commit98f8df6427a933ee405537128e7e913684a6d791 (patch)
tree5aa29ea4230e99ff8a9bb23abe355bed747b9aeb /twin/compton-tde/common.h
parent8083ca83aef5f36ccf7e51e6db8f0310b208f929 (diff)
downloadtdebase-98f8df6427a933ee405537128e7e913684a6d791.tar.gz
tdebase-98f8df6427a933ee405537128e7e913684a6d791.zip
Fix compton-tde FTBFS on older systems
Diffstat (limited to 'twin/compton-tde/common.h')
-rw-r--r--twin/compton-tde/common.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/twin/compton-tde/common.h b/twin/compton-tde/common.h
index 275b7b671..5c6392f51 100644
--- a/twin/compton-tde/common.h
+++ b/twin/compton-tde/common.h
@@ -12,6 +12,8 @@
#ifndef COMPTON_COMMON_H
#define COMPTON_COMMON_H
+#include "config.h"
+
// === Options ===
// Debug options, enable them using -D in CFLAGS
@@ -65,6 +67,9 @@
// #define USE_ENV_HOME 1
#define WRITE_PID_FILE 1
#define _TDE_COMP_MGR_VERSION_ 3.00
+#if defined(HAVE_LIBCONFIG_OLD_API)
+#define CONFIG_LIBCONFIG_LEGACY 1
+#endif
#if !defined(CONFIG_C2) && defined(DEBUG_C2)
#error Cannot enable c2 debugging without c2 support.