Fossil SCM

Fix to previous for CentOS 7.

tangent 2018-09-22 06:57 libbind-ns-alternative
Commit c7640b38956595bac81141a1608c00823f04a2f7023e77aeac8be723c742dfa3
1 file changed +1 -1
+1 -1
--- src/smtp.c
+++ src/smtp.c
@@ -30,11 +30,11 @@
3030
# include <bind/arpa/nameser_compat.h>
3131
# else
3232
# include <arpa/nameser.h>
3333
# include <resolv.h>
3434
# endif
35
-# if !defined(ns_name_uncompress)
35
+# if defined(HAVE__NS_NAME_UNCOMPRESS) && !defined(ns_name_uncompress)
3636
# define ns_name_uncompress __ns_name_uncompress
3737
# endif
3838
# define FOSSIL_UNIX_STYLE_DNS 1
3939
#endif
4040
#if defined(_WIN32) && !defined(__MINGW32__) && !defined(__MINGW64__)
4141
--- src/smtp.c
+++ src/smtp.c
@@ -30,11 +30,11 @@
30 # include <bind/arpa/nameser_compat.h>
31 # else
32 # include <arpa/nameser.h>
33 # include <resolv.h>
34 # endif
35 # if !defined(ns_name_uncompress)
36 # define ns_name_uncompress __ns_name_uncompress
37 # endif
38 # define FOSSIL_UNIX_STYLE_DNS 1
39 #endif
40 #if defined(_WIN32) && !defined(__MINGW32__) && !defined(__MINGW64__)
41
--- src/smtp.c
+++ src/smtp.c
@@ -30,11 +30,11 @@
30 # include <bind/arpa/nameser_compat.h>
31 # else
32 # include <arpa/nameser.h>
33 # include <resolv.h>
34 # endif
35 # if defined(HAVE__NS_NAME_UNCOMPRESS) && !defined(ns_name_uncompress)
36 # define ns_name_uncompress __ns_name_uncompress
37 # endif
38 # define FOSSIL_UNIX_STYLE_DNS 1
39 #endif
40 #if defined(_WIN32) && !defined(__MINGW32__) && !defined(__MINGW64__)
41

Keyboard Shortcuts

Open search /
Next entry (timeline) j
Previous entry (timeline) k
Open focused entry Enter
Show this help ?
Toggle theme Top nav button