diff options
author | Christian Pointner <equinox@anytun.org> | 2018-11-18 09:57:20 +0100 |
---|---|---|
committer | Christian Pointner <equinox@anytun.org> | 2018-11-18 09:57:20 +0100 |
commit | 388e0318e741f27c988ed35711d345ce3839d2c8 (patch) | |
tree | edb1f1c1e8f2bdd90d70cb3b60f6f45fa38eb4a9 /src | |
parent | make usage of compiler flags more standard compliant (diff) |
fix build with boost 1.67
Diffstat (limited to 'src')
-rw-r--r-- | src/anytunError.h | 1 | ||||
-rw-r--r-- | src/resolver.cpp | 1 |
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" |