aboutsummaryrefslogtreecommitdiff
path: root/ares/ares_init.c
diff options
context:
space:
mode:
Diffstat (limited to 'ares/ares_init.c')
-rw-r--r--ares/ares_init.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/ares/ares_init.c b/ares/ares_init.c
index 1fd43f4b9..da2323ff5 100644
--- a/ares/ares_init.c
+++ b/ares/ares_init.c
@@ -43,6 +43,9 @@
#ifdef HAVE_UNISTD_H
#include <unistd.h>
#endif
+#ifdef HAVE_PROCESS_H
+#include <process.h> /* Some have getpid() here */
+#endif
#endif
#include <stdio.h>