Fix implicit-function-declaration warning for writev
nat64.c: In function ‘host_send_icmp4’: nat64.c:119:6: warning: implicit declaration of function ‘writev’ [-Wimplicit-function-declaration] if (writev(gcfg->tun_fd, iov, data_len ? 2 : 1) < 0) ^~~~~~
This commit is contained in:
parent
1c43cef4e5
commit
16ddc7ea56
1 changed files with 1 additions and 0 deletions
1
nat64.c
1
nat64.c
|
@ -16,6 +16,7 @@
|
|||
*/
|
||||
|
||||
#include <tayga.h>
|
||||
#include <sys/uio.h>
|
||||
|
||||
extern struct config *gcfg;
|
||||
|
||||
|
|
Loading…
Reference in a new issue