diff options
author | Yang Tse <yangsita@gmail.com> | 2008-07-21 03:06:07 +0000 |
---|---|---|
committer | Yang Tse <yangsita@gmail.com> | 2008-07-21 03:06:07 +0000 |
commit | 1b37baf6568e37d52601231c45e6394a3d0ff55b (patch) | |
tree | 1085842fa9ad6bb6f9dda01033d2414dd43c9850 /ares | |
parent | bffe69a151bbd1aae72e50c128fdb0c58596ade1 (diff) |
Use the sreadfrom() wrapper to replace recvfrom() in our code.
Diffstat (limited to 'ares')
-rw-r--r-- | ares/setup_once.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/ares/setup_once.h b/ares/setup_once.h index d3159904f..e1c5af278 100644 --- a/ares/setup_once.h +++ b/ares/setup_once.h @@ -222,6 +222,13 @@ struct timeval { #endif /* HAVE_RECVFROM */ +#ifdef RECVFROM_TYPE_ARG6_IS_VOID +# define RECVFROM_ARG6_T unsigned int +#else +# define RECVFROM_ARG6_T RECVFROM_TYPE_ARG6 +#endif + + /* * Uppercase macro versions of ANSI/ISO is*() functions/macros which * avoid negative number inputs with argument byte codes > 127. |