diff options
author | Yang Tse <yangsita@gmail.com> | 2009-05-01 12:39:40 +0000 |
---|---|---|
committer | Yang Tse <yangsita@gmail.com> | 2009-05-01 12:39:40 +0000 |
commit | 5a91746b80fd41b9915574d8514f1d40e9cfd1b6 (patch) | |
tree | 8142242b120e88a93f697f0cc8cd31b466730427 /src/setup.h | |
parent | fdc091a8573d0c3aa260738384e5d9dbb31a38df (diff) | |
download | curl-5a91746b80fd41b9915574d8514f1d40e9cfd1b6.tar.gz |
David McCreedy's "TPF-platform specific changes to various files" patch
Diffstat (limited to 'src/setup.h')
-rw-r--r-- | src/setup.h | 13 |
1 files changed, 8 insertions, 5 deletions
diff --git a/src/setup.h b/src/setup.h index b56407c64..1c74eb6d3 100644 --- a/src/setup.h +++ b/src/setup.h @@ -7,7 +7,7 @@ * | (__| |_| | _ <| |___ * \___|\___/|_| \_\_____| * - * Copyright (C) 1998 - 2008, Daniel Stenberg, <daniel@haxx.se>, et al. + * Copyright (C) 1998 - 2009, Daniel Stenberg, <daniel@haxx.se>, et al. * * This software is licensed as described in the file COPYING, which * you should have received as part of this distribution. The terms @@ -64,10 +64,6 @@ #ifdef TPF #include "config-tpf.h" -/* change which select is used for the curl command line tool */ -#define select(a,b,c,d,e) tpf_select_bsd(a,b,c,d,e) -/* and turn off the progress meter */ -#define CONF_DEFAULT (0|CONF_NOPROGRESS) #endif #endif /* HAVE_CONFIG_H */ @@ -128,6 +124,13 @@ # endif #endif +#ifdef TPF +# include <sys/socket.h> + /* change which select is used for the curl command line tool */ +# define select(a,b,c,d,e) tpf_select_bsd(a,b,c,d,e) + /* and turn off the progress meter */ +# define CONF_DEFAULT (0|CONF_NOPROGRESS) +#endif #include <stdio.h> |