summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Pointner <equinox@anytun.org>2018-11-18 08:57:20 (GMT)
committerChristian Pointner <equinox@anytun.org>2018-11-18 08:57:20 (GMT)
commit388e0318e741f27c988ed35711d345ce3839d2c8 (patch)
treeedb1f1c1e8f2bdd90d70cb3b60f6f45fa38eb4a9
parentf8c5a1fa2c0e3677a988aa3e607b6b2ecfb28824 (diff)
fix build with boost 1.67
-rw-r--r--src/anytunError.h1
-rw-r--r--src/resolver.cpp1
2 files changed, 2 insertions, 0 deletions
diff --git a/src/anytunError.h b/src/anytunError.h
index 0505497..02293cd 100644
--- a/src/anytunError.h
+++ b/src/anytunError.h
@@ -47,6 +47,7 @@
#define ANYTUN_anytunError_h_INCLUDED
#include <sstream>
+#define BOOST_SYSTEM_ENABLE_DEPRECATED
#include <boost/system/system_error.hpp>
#include "datatypes.h"
diff --git a/src/resolver.cpp b/src/resolver.cpp
index 81c30e3..905be19 100644
--- a/src/resolver.cpp
+++ b/src/resolver.cpp
@@ -44,6 +44,7 @@
*/
#include <boost/bind.hpp>
+#define BOOST_SYSTEM_ENABLE_DEPRECATED
#include <boost/system/error_code.hpp>
#include "resolver.h"