Fix compilation with gcc-4.9
Looks like one needs to include <functional> if one uses std::function. Compilation verified with: * gcc-4.8 * gcc-4.9 * clang-3.2
This commit is contained in:
parent
15aa971aab
commit
b18c672e36
2 changed files with 3 additions and 0 deletions
|
@ -22,6 +22,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||||
#include <kwineffects_export.h>
|
#include <kwineffects_export.h>
|
||||||
#include <QStringList>
|
#include <QStringList>
|
||||||
#include <QUrl>
|
#include <QUrl>
|
||||||
|
#include <functional>
|
||||||
|
|
||||||
namespace KWin
|
namespace KWin
|
||||||
{
|
{
|
||||||
|
|
|
@ -40,6 +40,8 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||||
#include <fixx11h.h>
|
#include <fixx11h.h>
|
||||||
// system
|
// system
|
||||||
#include <assert.h>
|
#include <assert.h>
|
||||||
|
// c++
|
||||||
|
#include <functional>
|
||||||
|
|
||||||
namespace KWin
|
namespace KWin
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue