summaryrefslogtreecommitdiffstats
path: root/kcontrol
diff options
context:
space:
mode:
authorFrançois Andriot <francois.andriot@free.fr>2014-10-18 14:20:05 +0200
committerSlávek Banko <slavek.banko@axis.cz>2014-10-18 14:29:22 +0200
commit44654c9af508f61aecffc5921d9f631501a069ac (patch)
tree6383609b01f9cf17bdaa2dc5600729230af9b07c /kcontrol
parent107220694fe3387df4051dcd94ae6c9995cb45f6 (diff)
downloadtdebase-44654c9af508f61aecffc5921d9f631501a069ac.tar.gz
tdebase-44654c9af508f61aecffc5921d9f631501a069ac.zip
Fix FTBFS on openbsd because 'abs' function in kcontrol/displayconfig
Signed-off-by: François Andriot <francois.andriot@free.fr>"
Diffstat (limited to 'kcontrol')
-rw-r--r--kcontrol/displayconfig/displayconfig.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/kcontrol/displayconfig/displayconfig.cpp b/kcontrol/displayconfig/displayconfig.cpp
index d326740b7..835b2598b 100644
--- a/kcontrol/displayconfig/displayconfig.cpp
+++ b/kcontrol/displayconfig/displayconfig.cpp
@@ -57,6 +57,9 @@
#include "displayconfig.h"
using namespace std;
+#ifdef __OpenBSD__
+#define abs __gnu_cxx::abs
+#endif
/**** DLL Interface ****/
typedef KGenericFactory<KDisplayConfig, TQWidget> KDisplayCFactory;