1 From 8e93699c0f225716f3cd5eff790270ae9e3880f9 Mon Sep 17 00:00:00 2001
2 From: Changhyeok Bae <changhyeok.bae@gmail.com>
3 Date: Sun, 17 Dec 2017 15:40:58 +0000
4 Subject: [PATCH 10/14] gcc-7 requires include <functional> for std::function
6 Signed-off-by: Changhyeok Bae <changhyeok.bae@gmail.com>
8 src/client/client-common.cpp | 1 +
9 src/common/smack-labels.cpp | 1 +
10 src/dpl/core/src/binary_queue.cpp | 1 +
11 3 files changed, 3 insertions(+)
13 diff --git a/src/client/client-common.cpp b/src/client/client-common.cpp
14 index 883ab8d..1babdf7 100644
15 --- a/src/client/client-common.cpp
16 +++ b/src/client/client-common.cpp
18 #include <sys/xattr.h>
19 #include <linux/xattr.h>
21 +#include <functional>
23 #include <dpl/log/log.h>
24 #include <dpl/serialization.h>
25 diff --git a/src/common/smack-labels.cpp b/src/common/smack-labels.cpp
26 index 0294a42..1598099 100644
27 --- a/src/common/smack-labels.cpp
28 +++ b/src/common/smack-labels.cpp
30 #include <sys/xattr.h>
31 #include <linux/xattr.h>
33 +#include <functional>
37 diff --git a/src/dpl/core/src/binary_queue.cpp b/src/dpl/core/src/binary_queue.cpp
38 index 72817a6..838409f 100644
39 --- a/src/dpl/core/src/binary_queue.cpp
40 +++ b/src/dpl/core/src/binary_queue.cpp
45 +#include <functional>
47 namespace SecurityManager {
48 BinaryQueue::BinaryQueue() :