Commit 756e56a8 authored by Jelte Jansen's avatar Jelte Jansen

[master] fix sunstudio build and distcheck

forgot an EXTRA_DIST for the distcheck, and sunstudio needs unistd to be included before asio.hpp
parent 0cc21b60
......@@ -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 <config.h>
// unistd is needed for asio.hpp with SunStudio
#include <unistd.h>
#include <asio.hpp>
#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 <config.h>
// unistd is needed for asio.hpp with SunStudio
#include <unistd.h>
#include <asio.hpp>
#include <asiolink/io_service.h>
......
......@@ -14,7 +14,10 @@
#include <config.h>
#include <asio/ip/address.hpp>
#include <stdlib.h>
// unistd is needed for asio.hpp with SunStudio
#include <unistd.h>
#include <asio.hpp>
......
......@@ -16,6 +16,9 @@
#include <boost/shared_array.hpp>
// unistd is needed for asio.hpp with SunStudio
#include <unistd.h>
#include <asio.hpp>
#include <log/dummylog.h>
......
......@@ -14,6 +14,9 @@
#include <config.h>
// unistd is needed for asio.hpp with SunStudio
#include <unistd.h>
#include <asio.hpp>
#include <boost/bind.hpp>
......
......@@ -16,6 +16,9 @@
#include <boost/shared_array.hpp>
// unistd is needed for asio.hpp with SunStudio
#include <unistd.h>
#include <asio.hpp>
#include <log/dummylog.h>
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment