--- tests/test_heartbeats.cpp.orig	2020-03-04 00:51:46 +0000
+++ tests/test_heartbeats.cpp	2020-03-04 00:52:45 +0000
@@ -29,7 +29,7 @@
 #include <unistd.h>
 typedef int raw_socket;
 #endif
-
+#include <sys/socket.h> 
 #include <limits.h>
 #include <stdlib.h>
 #include <string.h>
--- tests/test_mock_pub_sub.cpp.orig	2020-03-04 01:09:35 +0000
+++ tests/test_mock_pub_sub.cpp	2020-03-04 01:10:26 +0000
@@ -31,6 +31,7 @@
 typedef int raw_socket;
 #endif
 
+#include <sys/socket.h>
 #include <stdlib.h>
 #include <string.h>
 
--- tests/test_stream_exceeds_buffer.cpp.orig	2020-03-04 01:33:54 +0000
+++ tests/test_stream_exceeds_buffer.cpp	2020-03-04 01:34:29 +0000
@@ -38,6 +38,8 @@
 #include <unistd.h>
 #endif
 
+#include <sys/socket.h>
+
 SETUP_TEARDOWN_TESTCONTEXT
 
 void test_stream_exceeds_buffer ()
--- tests/test_zmq_poll_fd.cpp.orig	2020-03-04 01:40:31 +0000
+++ tests/test_zmq_poll_fd.cpp	2020-03-04 01:40:53 +0000
@@ -36,6 +36,7 @@
 #ifndef _WIN32
 #include <unistd.h>
 #endif
+#include <sys/socket.h> 
 
 SETUP_TEARDOWN_TESTCONTEXT
 
