diff options
| author | Khem Raj <raj.khem@gmail.com> | 2022-04-08 20:18:54 -0700 |
|---|---|---|
| committer | Khem Raj <raj.khem@gmail.com> | 2022-04-10 10:05:35 -0700 |
| commit | 085bfd3601aa0ac0592b4c62e3b9b9ae415b1111 (patch) | |
| tree | 65e7f315e36f7044d3b966eeef2a0c38d13411f7 /meta-oe/recipes-support/pidgin/libotr/0001-tests-Include-missing-sys-socket.h-header.patch | |
| parent | ae60e9869b3ff1425dca70195b19cc24f06e722c (diff) | |
| download | meta-openembedded-085bfd3601aa0ac0592b4c62e3b9b9ae415b1111.tar.gz | |
libotr: Include missing sys/socket.h header
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'meta-oe/recipes-support/pidgin/libotr/0001-tests-Include-missing-sys-socket.h-header.patch')
| -rw-r--r-- | meta-oe/recipes-support/pidgin/libotr/0001-tests-Include-missing-sys-socket.h-header.patch | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/meta-oe/recipes-support/pidgin/libotr/0001-tests-Include-missing-sys-socket.h-header.patch b/meta-oe/recipes-support/pidgin/libotr/0001-tests-Include-missing-sys-socket.h-header.patch new file mode 100644 index 0000000000..5b2e14b7b9 --- /dev/null +++ b/meta-oe/recipes-support/pidgin/libotr/0001-tests-Include-missing-sys-socket.h-header.patch | |||
| @@ -0,0 +1,31 @@ | |||
| 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 | |||
