From d8197688122e6b3787283ef59fa5ddd3c518662b Mon Sep 17 00:00:00 2001 From: Luca Beltrame Date: Mon, 23 May 2016 15:42:30 +0200 Subject: [PATCH 5/6] Fix building on Linux with clang/libc++ When using libc++, cmath isn't being pulled in, resulting in error: no member named 'sqrt' in namespace 'std' Adding explicit include fixes it (cherry picked from commit 3a3bbc39d5cba8d77c89f6652c5b9c24c9980497) --- kcms/touchpad/src/backends/x11/synapticstouchpad.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/kcms/touchpad/src/backends/x11/synapticstouchpad.cpp b/kcms/touchpad/src/backends/x11/synapticstouchpad.cpp index d4742bf..eb222ae 100644 --- a/kcms/touchpad/src/backends/x11/synapticstouchpad.cpp +++ b/kcms/touchpad/src/backends/x11/synapticstouchpad.cpp @@ -46,6 +46,7 @@ * Peter Osterlund (petero2@telia.com) */ +#include #include #include "synapticstouchpad.h" -- 2.7.4