Andrew Geissler | 2013739 | 2023-10-12 04:59:14 -0600 | [diff] [blame] | 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> |