From a4e66459d069d102d73314c5176d3a73adc17ea4 Mon Sep 17 00:00:00 2001 From: Gregory Nutt Date: Tue, 27 Jan 2015 14:11:46 -0600 Subject: [PATCH] Various fixes to get Unix domain sockets to build on the simulator without Ethernet --- nshlib/nsh_netinit.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nshlib/nsh_netinit.c b/nshlib/nsh_netinit.c index ed42bb9ba..5a96aed6c 100644 --- a/nshlib/nsh_netinit.c +++ b/nshlib/nsh_netinit.c @@ -107,7 +107,7 @@ # ifndef CONFIG_NSH_NOMAC # error "CONFIG_NSH_NOMAC must be defined for SLIP" # endif -#else +#elif !defined(CONFIG_NET_LOCAL) # error ERROR: No link layer protocol defined #endif