blob: 0009f1d7998dfbff8ec93c21ab79c8f74f83d612 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
--- a/libopendmarc/opendmarc_internal.h 2015-02-23 20:31:51.000000000 +0000
+++ b/libopendmarc/opendmarc_internal.h 2018-06-27 13:59:30.237526809 +0000
@@ -115,6 +115,17 @@
#define DNS_MAX_RETRIES 6
+/*
+** Fix missing NETDB defines when using musl libc
+*/
+#if !defined(NETDB_INTERNAL)
+# define NETDB_INTERNAL (-1)
+#endif
+
+#if !defined(NETDB_SUCCESS)
+# define NETDB_SUCCESS (0)
+#endif
+
/*****************************************************************************
** DMARC_POLICY_T -- The opaque context for the library.
** Memory needs to be allocated and freed.
|