From 7c1453662fb6c4a44cbe154b0f9d7352a5b69c88 Mon Sep 17 00:00:00 2001 From: Matias Fontanini Date: Sun, 7 Feb 2016 19:43:31 -0800 Subject: [PATCH] Fix compilation issues --- src/tcp_ip.cpp | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/src/tcp_ip.cpp b/src/tcp_ip.cpp index ee59244..c2577d2 100644 --- a/src/tcp_ip.cpp +++ b/src/tcp_ip.cpp @@ -27,9 +27,12 @@ * */ +#include "tcp_ip.h" + +#if TINS_IS_CXX11 + #include #include -#include "tcp_ip.h" #include "memory.h" #include "ip_address.h" #include "ipv6_address.h" @@ -41,6 +44,7 @@ #include "memory_helpers.h" using std::make_pair; +using std::bind; using std::runtime_error; using std::numeric_limits; using std::max; @@ -611,3 +615,5 @@ bool StreamFollower::stream_id::operator<(const stream_id& rhs) const { } // TCPIP } // Tins + +#endif // TINS_IS_CXX11 \ No newline at end of file