From 44654c9af508f61aecffc5921d9f631501a069ac Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fran=C3=A7ois=20Andriot?= Date: Sat, 18 Oct 2014 14:20:05 +0200 Subject: Fix FTBFS on openbsd because 'abs' function in kcontrol/displayconfig MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: François Andriot " --- kcontrol/displayconfig/displayconfig.cpp | 3 +++ 1 file changed, 3 insertions(+) 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 KDisplayCFactory; -- cgit v1.2.1