diff options
Diffstat (limited to 'nuttx/net/send.c')
-rw-r--r-- | nuttx/net/send.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/nuttx/net/send.c b/nuttx/net/send.c index 29633b380..6ded49e0e 100644 --- a/nuttx/net/send.c +++ b/nuttx/net/send.c @@ -38,7 +38,7 @@ ****************************************************************************/ #include <nuttx/config.h> -#ifdef CONFIG_NET +#if defined(CONFIG_NET) && defined(CONFIG_NET_TCP) #include <sys/types.h> #include <sys/socket.h> @@ -358,4 +358,4 @@ errout: return ERROR; } -#endif /* CONFIG_NET */ +#endif /* CONFIG_NET && CONFIG_NET_TCP */ |