diff options
Diffstat (limited to 'meta-networking/recipes-connectivity/tayga/files/0001-include-sys-uio.patch')
-rw-r--r-- | meta-networking/recipes-connectivity/tayga/files/0001-include-sys-uio.patch | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/meta-networking/recipes-connectivity/tayga/files/0001-include-sys-uio.patch b/meta-networking/recipes-connectivity/tayga/files/0001-include-sys-uio.patch new file mode 100644 index 0000000000..0c6f1609af --- /dev/null +++ b/meta-networking/recipes-connectivity/tayga/files/0001-include-sys-uio.patch | |||
@@ -0,0 +1,18 @@ | |||
1 | |||
2 | This patch addresses the following clang failure: tayga-0.9.2/nat64.c:119:6: | ||
3 | error: call to undeclared function 'writev'; ISO C99 and later do not support | ||
4 | implicit function declarations [-Wimplicit-function-declaration] | ||
5 | |||
6 | Upstream-Status: Pending | ||
7 | Signed-off-by: Pawel Langowski <pawel.langowski@3mdeb.com> | ||
8 | |||
9 | --- tayga.h 2023-09-29 14:38:05.005837695 +0200 | ||
10 | +++ tayga-2.h 2023-09-29 14:37:45.560837257 +0200 | ||
11 | @@ -20,6 +20,7 @@ | ||
12 | #include <sys/stat.h> | ||
13 | #include <sys/ioctl.h> | ||
14 | #include <sys/socket.h> | ||
15 | +#include <sys/uio.h> | ||
16 | #include <netinet/in.h> | ||
17 | #include <arpa/inet.h> | ||
18 | #include <unistd.h> | ||