Re: [PATCH bpf v2] selftests: bpf: fix compiler warning

2019-05-29 Thread Daniel Borkmann
On 05/28/2019 09:02 PM, Alakesh Haloi wrote: > Add missing header file following compiler warning > > prog_tests/flow_dissector.c: In function ‘tx_tap’: > prog_tests/flow_dissector.c:175:9: warning: implicit declaration of function > ‘writev’; did you mean ‘write’? [-Wimplicit-function-declaratio

Re: [PATCH bpf v2] selftests: bpf: fix compiler warning

2019-05-28 Thread Song Liu
On Tue, May 28, 2019 at 12:35 PM Alakesh Haloi wrote: > > Add missing header file following compiler warning > > prog_tests/flow_dissector.c: In function ‘tx_tap’: > prog_tests/flow_dissector.c:175:9: warning: implicit declaration of function > ‘writev’; did you mean ‘write’? [-Wimplicit-function

[PATCH bpf v2] selftests: bpf: fix compiler warning

2019-05-28 Thread Alakesh Haloi
Add missing header file following compiler warning prog_tests/flow_dissector.c: In function ‘tx_tap’: prog_tests/flow_dissector.c:175:9: warning: implicit declaration of function ‘writev’; did you mean ‘write’? [-Wimplicit-function-declaration] return writev(fd, iov, ARRAY_SIZE(iov));