Skip to content

Commit

Permalink
Merge pull request nanomsg#372 from reqshark/windows
Browse files Browse the repository at this point in the history
macro needed for windows compile
  • Loading branch information
djc committed Feb 16, 2015
2 parents 70ddf1d + 7d683ca commit 3a5fff0
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/transports/utils/tcpmux.c
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,13 @@
#include "../utils/err.h"
#include "../utils/wire.h"

#if defined NN_HAVE_WINDOWS
#include "../../utils/win.h"
#else
#include <unistd.h>
#include <sys/socket.h>
#include <sys/un.h>
#endif

#include "tcpmux.h"

Expand Down Expand Up @@ -142,4 +146,3 @@ int tcpmux_connect (int s, const struct sockaddr *addr,

return 0;
}

0 comments on commit 3a5fff0

Please sign in to comment.