diff options
Diffstat (limited to 'libtransport')
-rw-r--r-- | libtransport/includes/hicn/transport/interfaces/socket_consumer.h | 2 | ||||
-rw-r--r-- | libtransport/includes/hicn/transport/interfaces/socket_producer.h | 3 |
2 files changed, 4 insertions, 1 deletions
diff --git a/libtransport/includes/hicn/transport/interfaces/socket_consumer.h b/libtransport/includes/hicn/transport/interfaces/socket_consumer.h index e9e671edd..ee60ecbff 100644 --- a/libtransport/includes/hicn/transport/interfaces/socket_consumer.h +++ b/libtransport/includes/hicn/transport/interfaces/socket_consumer.h @@ -23,7 +23,9 @@ #include <hicn/transport/interfaces/socket_options_keys.h> #include <hicn/transport/security/verifier.h> +#define ASIO_STANDALONE #include <asio/io_service.hpp> +#undef ASIO_STANDALONE #define CONSUMER_FINISHED 0 #define CONSUMER_BUSY 1 diff --git a/libtransport/includes/hicn/transport/interfaces/socket_producer.h b/libtransport/includes/hicn/transport/interfaces/socket_producer.h index 3fe99fbd4..e4823cb5c 100644 --- a/libtransport/includes/hicn/transport/interfaces/socket_producer.h +++ b/libtransport/includes/hicn/transport/interfaces/socket_producer.h @@ -23,8 +23,9 @@ #include <hicn/transport/interfaces/socket_options_keys.h> #include <hicn/transport/security/signer.h> +#define ASIO_STANDALONE #include <asio/io_service.hpp> - +#undef ASIO_STANDALONE namespace transport { namespace implementation { |