Commit d06314df authored by Michael's avatar Michael

added windows includes as well as unix includes

added conditional includes for unix / windows
parent 75bea4bc
......@@ -2,8 +2,18 @@
#include <string.h>
#include <stdio.h>
#include <netinet/in.h>
#include <unistd.h>
#include "testutil.hpp"
#if defined (ZMQ_HAVE_WINDOWS)
# include <winsock2.h>
# 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>
......
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