Commit 519940d0 authored by Constantin Rack's avatar Constantin Rack Committed by GitHub

Merge pull request #2241 from bluca/aix_test

Problem: test_stream_exceeds_buffer fails to build on AIX
parents 5e03ad6d dcec0223
......@@ -34,15 +34,8 @@
# include <ws2tcpip.h>
# include <stdexcept>
# define close closesocket
#else
# include <sys/socket.h>
# include <netinet/in.h>
# include <arpa/inet.h>
# include <unistd.h>
#endif
#include <zmq.h>
int main()
{
const int msgsize = 8193;
......
......@@ -69,6 +69,10 @@
# include <sys/socket.h>
# include <netinet/in.h>
# include <arpa/inet.h>
# if defined (ZMQ_HAVE_AIX)
# include <sys/types.h>
# include <sys/socketvar.h>
# endif
#endif
// Bounce a message from client to server and back
......
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