Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nodejs/node.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'src/cares_wrap.cc')
-rw-r--r--src/cares_wrap.cc13
1 files changed, 13 insertions, 0 deletions
diff --git a/src/cares_wrap.cc b/src/cares_wrap.cc
index c0368739ff0..1b8639fa03f 100644
--- a/src/cares_wrap.cc
+++ b/src/cares_wrap.cc
@@ -38,6 +38,19 @@
#include <vector>
#include <unordered_set>
+#ifndef T_CAA
+# define T_CAA 257 /* Certification Authority Authorization */
+#endif
+
+// OpenBSD does not define these
+#ifndef AI_ALL
+# define AI_ALL 0
+#endif
+#ifndef AI_V4MAPPED
+# define AI_V4MAPPED 0
+#endif
+
+
namespace node {
namespace cares_wrap {