--- 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
 
--- tests/testutil.hpp.orig	2020-10-28 03:39:12 +0000
+++ tests/testutil.hpp	2020-10-28 03:40:06 +0000
@@ -45,6 +45,7 @@
 #include <arpa/inet.h>
 #include <unistd.h>
 #include <stdlib.h>
+#include <sys/socket.h>
 #endif
 
 //  This defines the settle time used in tests; raise this if we
--- tests/test_stream_exceeds_buffer.cpp.orig	2021-09-01 06:30:51 +0000
+++ tests/test_stream_exceeds_buffer.cpp	2021-09-01 06:31:48 +0000
@@ -31,6 +31,7 @@
 #include "testutil_unity.hpp"
 
 #include <string.h>
+#include <sys/socket.h>
 
 SETUP_TEARDOWN_TESTCONTEXT
 
--- tests/test_mock_pub_sub.cpp.orig	2021-09-01 06:33:17 +0000
+++ tests/test_mock_pub_sub.cpp	2021-09-01 06:33:52 +0000
@@ -20,6 +20,7 @@
 #include "testutil.hpp"
 #include "testutil_unity.hpp"
 
+#include <sys/socket.h>
 #include <stdlib.h>
 #include <string.h>
 
