ports/net/zeromq/patches/patch-tests_testutil_hpp

15 lines
318 B
Text
Raw Normal View History

2023-08-16 22:26:55 +00:00
Add missing include for AF_INET and IPPROTO_TCP
Index: tests/testutil.hpp
--- tests/testutil.hpp.orig
+++ tests/testutil.hpp
@@ -42,6 +42,8 @@
#if defined _WIN32
#include "../src/windows.hpp"
#else
+#include <sys/socket.h>
+#include <netinet/in.h>
#include <arpa/inet.h>
#include <unistd.h>
#include <stdlib.h>