diff options
author | Yang Tse <yangsita@gmail.com> | 2009-10-27 16:38:42 +0000 |
---|---|---|
committer | Yang Tse <yangsita@gmail.com> | 2009-10-27 16:38:42 +0000 |
commit | b2f430898053258622eebee3328f03441367a32c (patch) | |
tree | 5edb80da68f40d6f5fda70da1fa73c907cc0f4e9 /ares/setup.h | |
parent | 6a37135f4d56e89a85db50a38b800fd49eeafe3a (diff) |
Fix Pelles C Win32 target compilation issues
Diffstat (limited to 'ares/setup.h')
-rw-r--r-- | ares/setup.h | 6 |
1 files changed, 6 insertions, 0 deletions
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 <sys/types.h> +# include <unistd.h> +# 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 |