Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[macOS 10.14.5] cannot compile because of missing includes #303

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions include/amqpcpp/bytebuffer.h
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,11 @@
*/
#pragma once


#ifdef __APPLE__
#include "buffer.h"
#endif

/**
* Open namespace
*/
Expand Down
4 changes: 4 additions & 0 deletions include/amqpcpp/channel.h
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,10 @@
*/
#pragma once

#ifdef __APPLE__
#include "envelope.h"
#endif

/**
* Set up namespace
*/
Expand Down
5 changes: 5 additions & 0 deletions include/amqpcpp/connection.h
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,11 @@
*/
#pragma once

#ifdef __APPLE__
#include "connectionimpl.h"
#include "bytebuffer.h"
#endif

/**
* Set up namespace
*/
Expand Down
4 changes: 4 additions & 0 deletions include/amqpcpp/linux_tcp/tcpchannel.h
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,10 @@
*/
#pragma once

#ifdef __APPLE__
#include "../channel.h"
#endif

/**
* Set up namespace
*/
Expand Down
7 changes: 7 additions & 0 deletions include/amqpcpp/linux_tcp/tcpconnection.h
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,13 @@
*/
#pragma once

#ifdef __APPLE__
#include "../connectionhandler.h"
#include "../watchable.h"
#include "../connection.h"
#include "../address.h"
#endif

/**
* Set up namespace
*/
Expand Down
4 changes: 4 additions & 0 deletions include/amqpcpp/linux_tcp/tcphandler.h
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,10 @@
*/
#pragma once

#ifdef __APPLE__
#include "../table.h"
#endif

/**
* Set up namespace
*/
Expand Down