1From aa2362e50d54fce8464d85766f5b230bf453c1f0 Mon Sep 17 00:00:00 2001 2From: Khem Raj <raj.khem@gmail.com> 3Date: Fri, 8 Apr 2022 20:15:03 -0700 4Subject: [PATCH] tests: Include missing sys/socket.h header 5 6Helps define 7| ../../../../libotr-4.1.1/tests/regression/client/client.c:979:21: error: use of undeclared identifier 'PF_UNIX' 8| ../../../../libotr-4.1.1/tests/regression/client/client.c:979:30: error: use of undeclared identifier 'SOCK_STREAM' 9| ../../../../libotr-4.1.1/tests/regression/client/client.c:986:20: error: use of undeclared identifier 'AF_UNIX' 10 11Upstream-Status: Pending 12Signed-off-by: Khem Raj <raj.khem@gmail.com> 13--- 14 tests/regression/client/client.c | 1 + 15 1 file changed, 1 insertion(+) 16 17diff --git a/tests/regression/client/client.c b/tests/regression/client/client.c 18index e72b661..e0b3453 100644 19--- a/tests/regression/client/client.c 20+++ b/tests/regression/client/client.c 21@@ -26,6 +26,7 @@ 22 #include <stdlib.h> 23 #include <syscall.h> 24 #include <sys/epoll.h> 25+#include <sys/socket.h> 26 #include <sys/types.h> 27 #include <sys/un.h> 28 #include <unistd.h> 29-- 302.35.1 31 32