14 lines
318 B
Text
14 lines
318 B
Text
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>
|