Skip to content
Commit 5fac1718 authored by Alakesh Haloi's avatar Alakesh Haloi Committed by Daniel Borkmann
Browse files

selftests: bpf: fix compiler warning in flow_dissector test

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));
           ^~~~~~
           write

Fixes: 0905beec

 ("selftests/bpf: run flow dissector tests in skb-less mode")
Signed-off-by: default avatarAlakesh Haloi <alakesh.haloi@gmail.com>
Acked-by: default avatarSong Liu <songliubraving@fb.com>
Signed-off-by: default avatarDaniel Borkmann <daniel@iogearbox.net>
parent 10b3c441
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment