aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJack Lloyd <[email protected]>2017-11-14 09:12:11 -0500
committerJack Lloyd <[email protected]>2017-11-14 09:12:11 -0500
commitece37db0992107bdc9416c75427047bf94f5be29 (patch)
tree64282ac894d76bc013394651bba20ec60752dc7f
parentbf591b86c92b08b2773a252aa27008435cd8609e (diff)
Add <functional> include to TLS headers which use std::function
-rw-r--r--src/lib/tls/tls_callbacks.h1
-rw-r--r--src/lib/tls/tls_channel.h1
2 files changed, 2 insertions, 0 deletions
diff --git a/src/lib/tls/tls_callbacks.h b/src/lib/tls/tls_callbacks.h
index 50077c4a9..962bb2489 100644
--- a/src/lib/tls/tls_callbacks.h
+++ b/src/lib/tls/tls_callbacks.h
@@ -11,6 +11,7 @@
#include <botan/tls_session.h>
#include <botan/tls_alert.h>
+#include <functional>
namespace Botan {
diff --git a/src/lib/tls/tls_channel.h b/src/lib/tls/tls_channel.h
index 2b21b163d..070a190dd 100644
--- a/src/lib/tls/tls_channel.h
+++ b/src/lib/tls/tls_channel.h
@@ -14,6 +14,7 @@
#include <botan/tls_session_manager.h>
#include <botan/tls_callbacks.h>
#include <botan/x509cert.h>
+#include <functional>
#include <vector>
#include <string>
#include <map>