From 1b37baf6568e37d52601231c45e6394a3d0ff55b Mon Sep 17 00:00:00 2001 From: Yang Tse Date: Mon, 21 Jul 2008 03:06:07 +0000 Subject: Use the sreadfrom() wrapper to replace recvfrom() in our code. --- ares/setup_once.h | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'ares') 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. -- cgit v1.2.3