diff options
author | François Andriot <[email protected]> | 2014-10-18 14:20:05 +0200 |
---|---|---|
committer | Slávek Banko <[email protected]> | 2014-10-18 14:29:22 +0200 |
commit | 44654c9af508f61aecffc5921d9f631501a069ac (patch) | |
tree | 6383609b01f9cf17bdaa2dc5600729230af9b07c /kcontrol | |
parent | 107220694fe3387df4051dcd94ae6c9995cb45f6 (diff) | |
download | tdebase-44654c9af508f61aecffc5921d9f631501a069ac.tar.gz tdebase-44654c9af508f61aecffc5921d9f631501a069ac.zip |
Fix FTBFS on openbsd because 'abs' function in kcontrol/displayconfig
Signed-off-by: François Andriot <[email protected]>"
Diffstat (limited to 'kcontrol')
-rw-r--r-- | kcontrol/displayconfig/displayconfig.cpp | 3 |
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; |