summaryrefslogtreecommitdiffstats
path: root/src/client
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2010-12-15 07:03:28 +0000
committerDavid Robillard <d@drobilla.net>2010-12-15 07:03:28 +0000
commitfab5b6794bd156389009a05d10981a265278477e (patch)
tree5cbf03b43a382fa1ac8a156864e6f56554815b0e /src/client
parent2cfd996c38fefef9052c12758d681cba7be0642e (diff)
downloadingen-fab5b6794bd156389009a05d10981a265278477e.tar.gz
ingen-fab5b6794bd156389009a05d10981a265278477e.tar.bz2
ingen-fab5b6794bd156389009a05d10981a265278477e.zip
Keep soup.h include local, to keep netdb.h include away from glibmm include to avoid clashing symbol HOST_NOT_FOUND (fix ticket #328).
Yes, this is as mind-blowingly stupid of a thing to have to work around as it seems. git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@2704 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src/client')
-rw-r--r--src/client/HTTPClientReceiver.cpp10
-rw-r--r--src/client/HTTPClientReceiver.hpp4
-rw-r--r--src/client/HTTPEngineSender.cpp4
-rw-r--r--src/client/HTTPEngineSender.hpp8
4 files changed, 20 insertions, 6 deletions
diff --git a/src/client/HTTPClientReceiver.cpp b/src/client/HTTPClientReceiver.cpp
index 9a00330e..caabd20d 100644
--- a/src/client/HTTPClientReceiver.cpp
+++ b/src/client/HTTPClientReceiver.cpp
@@ -15,14 +15,20 @@
* 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
*/
-#include <list>
+#include <errno.h>
+
#include <cassert>
#include <cstring>
+#include <list>
#include <sstream>
+
#include <sys/socket.h>
-#include <errno.h>
+
+#include <libsoup/soup.h>
+
#include "raul/log.hpp"
#include "raul/Atom.hpp"
+
#include "module/Module.hpp"
#include "module/World.hpp"
#include "HTTPClientReceiver.hpp"
diff --git a/src/client/HTTPClientReceiver.hpp b/src/client/HTTPClientReceiver.hpp
index b0987960..094eee65 100644
--- a/src/client/HTTPClientReceiver.hpp
+++ b/src/client/HTTPClientReceiver.hpp
@@ -20,7 +20,6 @@
#include <cstdlib>
#include <boost/utility.hpp>
-#include <libsoup/soup.h>
#include <glibmm/thread.h>
#include "redlandmm/World.hpp"
#include "raul/Deletable.hpp"
@@ -29,6 +28,9 @@
#include "interface/ClientInterface.hpp"
#include "serialisation/Parser.hpp"
+typedef struct _SoupSession SoupSession;
+typedef struct _SoupMessage SoupMessage;
+
namespace Ingen {
namespace Client {
diff --git a/src/client/HTTPEngineSender.cpp b/src/client/HTTPEngineSender.cpp
index 1c45a2c2..c1261102 100644
--- a/src/client/HTTPEngineSender.cpp
+++ b/src/client/HTTPEngineSender.cpp
@@ -16,9 +16,11 @@
*/
#include <libsoup/soup.h>
-#include "raul/log.hpp"
+
#include "raul/AtomRDF.hpp"
+#include "raul/log.hpp"
#include "redlandmm/Model.hpp"
+
#include "module/World.hpp"
#include "HTTPEngineSender.hpp"
#include "HTTPClientReceiver.hpp"
diff --git a/src/client/HTTPEngineSender.hpp b/src/client/HTTPEngineSender.hpp
index fedcd4fd..bd8d3e23 100644
--- a/src/client/HTTPEngineSender.hpp
+++ b/src/client/HTTPEngineSender.hpp
@@ -19,12 +19,16 @@
#define INGEN_CLIENT_HTTPENGINESENDER_HPP
#include <inttypes.h>
+
#include <string>
-#include <libsoup/soup.h>
+
#include "raul/Path.hpp"
-#include "interface/EngineInterface.hpp"
#include "redlandmm/World.hpp"
+#include "interface/EngineInterface.hpp"
+
+typedef struct _SoupSession SoupSession;
+
namespace Ingen {
namespace Shared { class World; }