Local sockets: Add poll support for Unix stream sockets. From Jussi Kivilinna.

This commit is contained in:
Gregory Nutt
2015-05-12 07:41:12 -06:00
parent b15cf5cdd8
commit c07a5b2775
4 changed files with 130 additions and 1 deletions

View File

@@ -107,7 +107,9 @@
# ifndef CONFIG_NSH_NOMAC
# error "CONFIG_NSH_NOMAC must be defined for SLIP"
# endif
#elif !defined(CONFIG_NET_LOCAL)
#elif defined(CONFIG_NET_LOCAL)
# define NET_DEVNAME "lo"
#else
# error ERROR: No link layer protocol defined
#endif