From 3e4a8defc374324dc94192b0244af95092df19be Mon Sep 17 00:00:00 2001 From: Chris Downs Date: Wed, 28 Mar 2018 12:53:48 -0500 Subject: [PATCH] Add missing linux_tcp header in examples The examples for implementing the AMQP::TcpHandler class do not include the linux_tcp header, causing the TcpHandler class to not be found. Unless it was mistakenly not included in amqpcpp.h, the examples should reflect the requirement that it be included when TcpHandler is used. --- README.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/README.md b/README.md index b908357..bd8df90 100644 --- a/README.md +++ b/README.md @@ -309,6 +309,7 @@ the main event loop: ````c++ #include +#include class MyTcpHandler : public AMQP::TcpHandler { @@ -458,6 +459,7 @@ object: ````c++ #include +#include class MyTcpHandler : public AMQP::TcpHandler {