From 03f0df7e1bbfcae8f770730ab707d7ca3bf097f0 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Sat, 27 Sep 2008 17:23:02 +0000 Subject: Fix building w/o soup. git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@1516 a436a847-0d15-0410-975c-d299462d15a1 --- src/libs/client/client.cpp | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'src/libs/client/client.cpp') diff --git a/src/libs/client/client.cpp b/src/libs/client/client.cpp index 32380378..f3d62471 100644 --- a/src/libs/client/client.cpp +++ b/src/libs/client/client.cpp @@ -15,10 +15,14 @@ * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ +#include CONFIG_H_PATH + #include #include "client.hpp" #include "OSCEngineSender.hpp" +#ifdef WITH_SOUP #include "HTTPEngineSender.hpp" +#endif using namespace std; @@ -35,10 +39,12 @@ new_remote_interface(const std::string& url) OSCEngineSender* oes = new OSCEngineSender(url); oes->attach(rand(), true); return SharedPtr(oes); +#ifdef WITH_SOUP } else if (scheme == "http") { HTTPEngineSender* hes = new HTTPEngineSender(url); hes->attach(rand(), true); return SharedPtr(hes); +#endif } else { cerr << "WARNING: Unknown URI scheme '" << scheme << "'" << endl; return SharedPtr(); -- cgit v1.2.1