diff --git a/net/socket/net_dupsd2.c b/net/socket/net_dupsd2.c index ae4a45252a..f4bfe795fb 100644 --- a/net/socket/net_dupsd2.c +++ b/net/socket/net_dupsd2.c @@ -112,3 +112,5 @@ errout: return ret; } +#endif /* CONFIG_NET && CONFIG_NSOCKET_DESCRPTORS > 0 */ +