From 3b47b8ad928aa3f5bc980709393ac4739b580bdb Mon Sep 17 00:00:00 2001
From: Erik Ekman <yarrick@kryo.se>
Date: Sun, 20 Sep 2009 15:11:07 +0000
Subject: [PATCH] #75 Add win32 defines for TXT and SRV

---
 src/windows.h | 8 ++++++++
 1 file changed, 8 insertions(+)

diff --git a/src/windows.h b/src/windows.h
index edcc164..d7e03e1 100644
--- a/src/windows.h
+++ b/src/windows.h
@@ -25,6 +25,14 @@ typedef unsigned int in_addr_t;
 #include <ws2tcpip.h>
 #include <iphlpapi.h>
 
+/* Missing from the mingw headers */
+#ifndef DNS_TYPE_SRV
+# define DNS_TYPE_SRV 33
+#endif
+#ifndef DNS_TYPE_TXT
+# define DNS_TYPE_TXT 16
+#endif
+
 #define T_A DNS_TYPE_A
 #define T_NS DNS_TYPE_NS
 #define T_NULL DNS_TYPE_NULL