summaryrefslogtreecommitdiffstats
path: root/apps
diff options
context:
space:
mode:
authorAngelo Mantellini <angelo.mantellini@cisco.com>2020-05-31 11:58:28 +0200
committerAngelo Mantellini <angelo.mantellini@cisco.com>2020-05-31 12:01:25 +0200
commitda86027a1ca94af261a1e3f030ebc4e519ad8d83 (patch)
tree547d232051dd066a12b491c97b9a82c8c0808807 /apps
parentf54ae4ed4fd2f22525492e2525d0f24a314e65b2 (diff)
[HICN-619] Compilation Error on Android
Signed-off-by: Angelo Mantellini <angelo.mantellini@cisco.com> Change-Id: I96b6f50845d14a310a60287ca2680e94a55fc3d7
Diffstat (limited to 'apps')
-rw-r--r--apps/http-proxy/src/forwarder_interface.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/apps/http-proxy/src/forwarder_interface.h b/apps/http-proxy/src/forwarder_interface.h
index ee0354d32..116b09a07 100644
--- a/apps/http-proxy/src/forwarder_interface.h
+++ b/apps/http-proxy/src/forwarder_interface.h
@@ -20,6 +20,9 @@ extern "C" {
#include <hicn/util/ip_address.h>
}
+#ifndef ASIO_STANDALONE
+#define ASIO_STANDALONE 1
+#endif
#include <asio.hpp>
#include <asio/steady_timer.hpp>
#include <functional>
@@ -99,4 +102,4 @@ class ForwarderInterface {
uint32_t route_id_;
};
-} // namespace transport \ No newline at end of file
+} // namespace transport