aboutsummaryrefslogtreecommitdiff
path: root/ares/setup.h
diff options
context:
space:
mode:
Diffstat (limited to 'ares/setup.h')
-rw-r--r--ares/setup.h6
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