summaryrefslogtreecommitdiffstats
path: root/apps/nshlib
diff options
context:
space:
mode:
authorGregory Nutt <gnutt@nuttx.org>2015-01-27 14:11:46 -0600
committerGregory Nutt <gnutt@nuttx.org>2015-01-27 14:11:46 -0600
commit679244ccea82868acb86ef68fe550cb65c475c5c (patch)
treeaa783282c4c9c3d61628765e9231b7fc4462c58a /apps/nshlib
parenta62b97e36baab287c8bb412455b042d7274e567f (diff)
Various fixes to get Unix domain sockets to build on the simulator without Ethernet
Diffstat (limited to 'apps/nshlib')
-rw-r--r--apps/nshlib/nsh_netinit.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/nshlib/nsh_netinit.c b/apps/nshlib/nsh_netinit.c
index ed42bb9ba4..5a96aed6ce 100644
--- a/apps/nshlib/nsh_netinit.c
+++ b/apps/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