From b2f430898053258622eebee3328f03441367a32c Mon Sep 17 00:00:00 2001 From: Yang Tse Date: Tue, 27 Oct 2009 16:38:42 +0000 Subject: Fix Pelles C Win32 target compilation issues --- ares/setup.h | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'ares/setup.h') diff --git a/ares/setup.h b/ares/setup.h index 69ee510e6..e15e999c2 100644 --- a/ares/setup.h +++ b/ares/setup.h @@ -147,6 +147,12 @@ #endif /* HAVE_CONFIG_H */ +#ifdef __POCC__ +# include +# include +# define ESRCH 3 +#endif + /* * Recent autoconf versions define these symbols in ares_config.h. We don't * want them (since they collide with the libcurl ones when we build -- cgit v1.2.3