diff options
-rw-r--r-- | src/pgm_socket.cpp | 1 | ||||
-rw-r--r-- | src/pgm_socket.hpp | 1 | ||||
-rw-r--r-- | src/zmq.cpp | 1 |
3 files changed, 2 insertions, 1 deletions
diff --git a/src/pgm_socket.cpp b/src/pgm_socket.cpp index 70a60e0..abfa804 100644 --- a/src/pgm_socket.cpp +++ b/src/pgm_socket.cpp @@ -100,7 +100,6 @@ int zmq::pgm_socket_t::init (bool udp_encapsulation_, const char *network_) nbytes_processed = 0; pgm_msgv_processed = 0; - bool rc; pgm_error_t *pgm_error = NULL; struct pgm_addrinfo_t hints, *res = NULL; sa_family_t sa_family; diff --git a/src/pgm_socket.hpp b/src/pgm_socket.hpp index 142fdcc..10af0c2 100644 --- a/src/pgm_socket.hpp +++ b/src/pgm_socket.hpp @@ -28,6 +28,7 @@ #include "windows.hpp" #endif +#define __PGM_WININT_H__ #include <pgm/pgm.h> #include "options.hpp" diff --git a/src/zmq.cpp b/src/zmq.cpp index c3aca6a..a99aeb5 100644 --- a/src/zmq.cpp +++ b/src/zmq.cpp @@ -51,6 +51,7 @@ #endif #if defined ZMQ_HAVE_OPENPGM +#define __PGM_WININT_H__ #include <pgm/pgm.h> #endif |