From 00957dd74a97252d9a790141cb7f475573da1a91 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Thu, 10 May 2012 21:32:59 +0000 Subject: Fix compilation on Mac OS X. git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@4342 a436a847-0d15-0410-975c-d299462d15a1 --- src/client/ClientStore.cpp | 4 ++-- src/socket/SocketWriter.cpp | 4 ++++ 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/src/client/ClientStore.cpp b/src/client/ClientStore.cpp index ad5c6a60..a1da01c4 100644 --- a/src/client/ClientStore.cpp +++ b/src/client/ClientStore.cpp @@ -236,14 +236,14 @@ ClientStore::move(const Raul::Path& old_path, const Raul::Path& new_path) return; } - typedef Table > Removed; + typedef Raul::Table > Removed; iterator end = find_descendants_end(parent); SharedPtr removed = yank(parent, end); assert(removed->size() > 0); - typedef Table > PathTable; + typedef Raul::Table > PathTable; for (PathTable::iterator i = removed->begin(); i != removed->end(); ++i) { const Raul::Path& child_old_path = i->first; assert(Raul::Path::descendant_comparator(old_path, child_old_path)); diff --git a/src/socket/SocketWriter.cpp b/src/socket/SocketWriter.cpp index e704e5af..9a9decd7 100644 --- a/src/socket/SocketWriter.cpp +++ b/src/socket/SocketWriter.cpp @@ -22,6 +22,10 @@ #include "SocketWriter.hpp" +#ifndef MSG_NOSIGNAL +# define MSG_NOSIGNAL 0 +#endif + namespace Ingen { namespace Socket { -- cgit v1.2.1