diff options
author | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2011-04-16 01:04:17 +0000 |
---|---|---|
committer | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2011-04-16 01:04:17 +0000 |
commit | 4264cfb4e8ab918f350dc625019b8492cc8d9e40 (patch) | |
tree | f6c80ca59449872801c0050b6cdb5bf3ed27299b /nuttx/include | |
parent | f59a457ba7da70e76fdba829f1b17764dbc1d486 (diff) | |
download | px4-nuttx-4264cfb4e8ab918f350dc625019b8492cc8d9e40.tar.gz px4-nuttx-4264cfb4e8ab918f350dc625019b8492cc8d9e40.tar.bz2 px4-nuttx-4264cfb4e8ab918f350dc625019b8492cc8d9e40.zip |
Fix bad conditional compilation that breaks THTTPD and dup2()
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3511 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx/include')
-rw-r--r-- | nuttx/include/nuttx/net.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/nuttx/include/nuttx/net.h b/nuttx/include/nuttx/net.h index 3d96f4e88..62b2e1673 100644 --- a/nuttx/include/nuttx/net.h +++ b/nuttx/include/nuttx/net.h @@ -177,7 +177,7 @@ EXTERN int net_dup(int sockfd, int minsd); * this function (when both file and socket descriptors are supported) */ -#if CONFIG_NFILE_DESCRIPTOR > 0 +#if CONFIG_NFILE_DESCRIPTORS > 0 EXTERN int net_dup2(int sockfd1, int sockfd2); #else # define net_dup2(sockfd1, sockfd2) dup2(sockfd1, sockfd2) |