From d743ca0896fe9d66cc62d89e7580cd3a5a8cf8cd Mon Sep 17 00:00:00 2001 From: Gregory Nutt Date: Mon, 11 Feb 2019 18:08:49 -0600 Subject: [PATCH] syscall/syscall_lookup.h: Fix a newly introduced warning found in build testing. --- syscall/syscall_lookup.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/syscall/syscall_lookup.h b/syscall/syscall_lookup.h index 17f17e92447..4ccfbb451b6 100644 --- a/syscall/syscall_lookup.h +++ b/syscall/syscall_lookup.h @@ -363,7 +363,7 @@ SYSCALL_LOOKUP(up_assert, 2, STUB_up_assert) /* The following are defined only if networking AND sockets are supported */ -#if CONFIG_NSOCKET_DESCRIPTORS > 0 && defined(CONFIG_NET) +#ifdef CONFIG_NET SYSCALL_LOOKUP(accept, 3, STUB_accept) SYSCALL_LOOKUP(bind, 3, STUB_bind) SYSCALL_LOOKUP(connect, 3, STUB_connect)