Patrick Williams | 5877637 | 2022-04-13 09:07:35 -0500 | [diff] [blame] | 1 | From aa2362e50d54fce8464d85766f5b230bf453c1f0 Mon Sep 17 00:00:00 2001 |
| 2 | From: Khem Raj <raj.khem@gmail.com> |
| 3 | Date: Fri, 8 Apr 2022 20:15:03 -0700 |
| 4 | Subject: [PATCH] tests: Include missing sys/socket.h header |
| 5 | |
| 6 | Helps 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 | |
| 11 | Upstream-Status: Pending |
| 12 | Signed-off-by: Khem Raj <raj.khem@gmail.com> |
| 13 | --- |
| 14 | tests/regression/client/client.c | 1 + |
| 15 | 1 file changed, 1 insertion(+) |
| 16 | |
| 17 | diff --git a/tests/regression/client/client.c b/tests/regression/client/client.c |
| 18 | index 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 | -- |
| 30 | 2.35.1 |
| 31 | |