forgot an EXTRA_DIST for the distcheck, and sunstudio needs unistd to be included before asio.hpp
@@ -282,3 +282,4 @@ EXTRA_DIST += ext/asio/asio/is_write_buffered.hpp
EXTRA_DIST += ext/asio/asio/buffered_read_stream_fwd.hpp
EXTRA_DIST += ext/asio/asio/socket_acceptor_service.hpp
EXTRA_DIST += ext/asio/asio.hpp
+EXTRA_DIST += ext/coroutine/coroutine.h
@@ -14,11 +14,12 @@
#include <config.h>
-#include <asiolink/io_service.h>
-
-#include <asio/ip/address.hpp>
+// unistd is needed for asio.hpp with SunStudio
+#include <unistd.h>
#include <asio.hpp>
+
+#include <asiolink/io_service.h>
#include <asiolink/tcp_server.h>
#include <asiolink/udp_server.h>
@@ -14,6 +14,9 @@
#include <exceptions/exceptions.h>
@@ -11,9 +11,11 @@
// LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE
// OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
// PERFORMANCE OF THIS SOFTWARE.
#include <asiolink/io_service.h>
@@ -14,7 +14,10 @@
+#include <stdlib.h>
@@ -16,6 +16,9 @@
#include <boost/shared_array.hpp>
#include <log/dummylog.h>
#include <boost/bind.hpp>