Unix domain: A few more bugfixes

This commit is contained in:
Gregory Nutt
2015-01-27 17:31:42 -06:00
parent ca2102febb
commit b76db036da
2 changed files with 4 additions and 3 deletions
+3 -2
View File
@@ -38,7 +38,8 @@
****************************************************************************/
#include <nuttx/config.h>
#if defined(CONFIG_NET) && CONFIG_NSOCKET_DESCRIPTORS > 0 && defined(CONFIG_NET_TCP)
#if defined(CONFIG_NET) && CONFIG_NSOCKET_DESCRIPTORS > 0 && \
(defined(CONFIG_NET_TCP) || defined(CONFIG_NET_LOCAL))
#include <sys/types.h>
#include <sys/socket.h>
@@ -313,4 +314,4 @@ errout:
return ERROR;
}
#endif /* CONFIG_NET && CONFIG_NSOCKET_DESCRIPTORS && CONFIG_NET_TCP */
#endif /* CONFIG_NET && CONFIG_NSOCKET_DESCRIPTORS && (CONFIG_NET_TCP || CONFIG_NET_LOCAL) */