summaryrefslogtreecommitdiffstats
path: root/tools/testing/selftests/net/reuseport_addr_any.c
diff options
context:
space:
mode:
Diffstat (limited to 'tools/testing/selftests/net/reuseport_addr_any.c')
-rw-r--r--tools/testing/selftests/net/reuseport_addr_any.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/tools/testing/selftests/net/reuseport_addr_any.c b/tools/testing/selftests/net/reuseport_addr_any.c
index c6233935fed1..b8475cb29be7 100644
--- a/tools/testing/selftests/net/reuseport_addr_any.c
+++ b/tools/testing/selftests/net/reuseport_addr_any.c
@@ -21,6 +21,10 @@
#include <sys/socket.h>
#include <unistd.h>
+#ifndef SOL_DCCP
+#define SOL_DCCP 269
+#endif
+
static const char *IP4_ADDR = "127.0.0.1";
static const char *IP6_ADDR = "::1";
static const char *IP4_MAPPED6 = "::ffff:127.0.0.1";