From 22c46b04c9ab08e56d4112dd90b7e55ab0118cbd Mon Sep 17 00:00:00 2001 From: Benjamin Valentin Date: Thu, 13 Jan 2022 12:53:41 +0100 Subject: [PATCH] sys/net/sock: introduce SOCK_HAS_IPV4 --- sys/Makefile.include | 3 +++ 1 file changed, 3 insertions(+) diff --git a/sys/Makefile.include b/sys/Makefile.include index f2e9429aec..31e8c274e8 100644 --- a/sys/Makefile.include +++ b/sys/Makefile.include @@ -107,6 +107,9 @@ ifneq (,$(filter skald, $(USEMODULE))) endif ifneq (,$(filter sock sock_%,$(USEMODULE))) + ifneq (,$(filter ipv4,$(USEMODULE))) + CFLAGS += -DSOCK_HAS_IPV4 + endif ifneq (,$(filter ipv6,$(USEMODULE))) CFLAGS += -DSOCK_HAS_IPV6 endif