mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-07-21 02:05:16 +03:00
17 lines
512 B
Diff
17 lines
512 B
Diff
--- ./src/include/spf_dns.h.orig
|
|
+++ ./src/include/spf_dns.h
|
|
@@ -99,11 +99,13 @@
|
|
*/
|
|
|
|
#if !defined(HAVE_NETDB_H) && !defined(_WIN32)
|
|
-#define NETDB_SUCCESS 0
|
|
#define HOST_NOT_FOUND 1 /**< NXDOMAIN (authoritative answer)*/
|
|
#define TRY_AGAIN 2 /**< SERVFAIL (no authoritative answer)*/
|
|
#define NO_RECOVERY 3 /**< invalid/unimplmeneted query */
|
|
#define NO_DATA 4 /**< host found, but no RR of req type*/
|
|
+#endif
|
|
+#ifndef NETDB_SUCCESS
|
|
+#define NETDB_SUCCESS 0
|
|
#endif
|
|
typedef int SPF_dns_stat_t;
|
|
|