From b18c672e368b0ff26367b6b5ea05e927227a7824 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20Gr=C3=A4=C3=9Flin?= Date: Tue, 29 Apr 2014 07:49:54 +0200 Subject: [PATCH] Fix compilation with gcc-4.9 Looks like one needs to include if one uses std::function. Compilation verified with: * gcc-4.8 * gcc-4.9 * clang-3.2 --- effects/effect_builtins.h | 1 + toplevel.h | 2 ++ 2 files changed, 3 insertions(+) diff --git a/effects/effect_builtins.h b/effects/effect_builtins.h index 7c706d91a3..b471cf077a 100644 --- a/effects/effect_builtins.h +++ b/effects/effect_builtins.h @@ -22,6 +22,7 @@ along with this program. If not, see . #include #include #include +#include namespace KWin { diff --git a/toplevel.h b/toplevel.h index 2fce2c1060..c7492e9421 100644 --- a/toplevel.h +++ b/toplevel.h @@ -40,6 +40,8 @@ along with this program. If not, see . #include // system #include +// c++ +#include namespace KWin {