aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ares/ares_process.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/ares/ares_process.c b/ares/ares_process.c
index a1e16af28..83b407077 100644
--- a/ares/ares_process.c
+++ b/ares/ares_process.c
@@ -45,6 +45,11 @@
#include "ares_dns.h"
#include "ares_private.h"
+#ifndef TRUE
+/* at least Solaris 7 does not have TRUE at this point */
+#define TRUE 1
+#endif
+
#if (defined(WIN32) || defined(WATT32)) && !defined(MSDOS)
#define GET_ERRNO() WSAGetLastError()
#else