diff options
author | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2007-11-22 18:36:46 +0000 |
---|---|---|
committer | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2007-11-22 18:36:46 +0000 |
commit | c5148ad9e5d0c44c891f843bc7927bdcce0aee1a (patch) | |
tree | 6f54ddc25051c52d0ce5226bfac63c0054137b7c /nuttx/net/send.c | |
parent | 7d4b2f6253d8ac898def6839b2ccc2ae61e24135 (diff) | |
download | px4-nuttx-c5148ad9e5d0c44c891f843bc7927bdcce0aee1a.tar.gz px4-nuttx-c5148ad9e5d0c44c891f843bc7927bdcce0aee1a.tar.bz2 px4-nuttx-c5148ad9e5d0c44c891f843bc7927bdcce0aee1a.zip |
TCP and ICMP protocols may now be disabled
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@398 42af7a65-404d-4744-a932-0658087f49c3
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 */ |