Skip to content
Snippets Groups Projects
Commit 06e8852c authored by Thomas Meyer's avatar Thomas Meyer Committed by Shuah Khan
Browse files

selftests/net: msg_zerocopy enable build with older kernel headers


Explicitly define SO_EE_ORIGIN_ZEROCOPY.
This makes the test program build with older kernel headers,
e.g. from Debian 9.

Signed-off-by: default avatarThomas Meyer <thomas@m3y3r.de>
Signed-off-by: default avatarShuah Khan <shuahkh@osg.samsung.com>
parent e06d79fb
No related branches found
No related tags found
No related merge requests found
......@@ -55,7 +55,7 @@
#include <unistd.h>
#ifndef SO_EE_ORIGIN_ZEROCOPY
#define SO_EE_ORIGIN_ZEROCOPY SO_EE_ORIGIN_UPAGE
#define SO_EE_ORIGIN_ZEROCOPY 5
#endif
#ifndef SO_ZEROCOPY
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment