Subversion Repositories libspf2

Compare Revisions

Ignore whitespace Rev 29 → Rev 30

/trunk/debian/patches/20_spf_dns_include_std_headers.dpatch
10,7 → 10,7
diff -Nur libspf2-1.2.5.dfsg/src/include/spf_dns.h libspf2-1.2.5.dfsg.new/src/include/spf_dns.h
--- libspf2-1.2.5.dfsg/src/include/spf_dns.h 2004-08-29 16:59:33.000000000 +0200
+++ libspf2-1.2.5.dfsg.new/src/include/spf_dns.h 2007-03-23 18:04:17.000000000 +0100
@@ -61,43 +61,12 @@
@@ -61,48 +61,16 @@
*
*/
23,6 → 23,7
+#include <arpa/nameser.h>
+#include <netdb.h>
-/* XXX This should use a more sensible define. */
-#if !defined( HAVE_NS_TYPE )
-
-#define ns_t_invalid 0
39,7 → 40,11
-typedef int ns_type;
-#endif
-
-#ifndef ns_t_invalid
#if ! HAVE_DECL_NS_T_SPF
#define ns_t_spf 99
#endif
-#if ! HAVE_DECL_NS_T_INVALID
-#define ns_t_invalid 0
-#endif
-