diff options
-rw-r--r-- | include/tgbot/net/TgWebhookLocalServer.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/include/tgbot/net/TgWebhookLocalServer.h b/include/tgbot/net/TgWebhookLocalServer.h index 6632485..770c66c 100644 --- a/include/tgbot/net/TgWebhookLocalServer.h +++ b/include/tgbot/net/TgWebhookLocalServer.h @@ -23,6 +23,8 @@ #ifndef TGBOT_TGWEBHOOKTCPSERVER_H #define TGBOT_TGWEBHOOKTCPSERVER_H +# ifdef BOOST_ASIO_HAS_LOCAL_SOCKETS + #include "tgbot/net/TgWebhookServer.h" namespace TgBot { @@ -46,5 +48,5 @@ public: }; } - +# endif #endif //TGBOT_TGWEBHOOKTCPSERVER_H |