? dns.diff
? dot.diff
? hal.diff
Index: gnome-vfs-dns-sd.c
===================================================================
RCS file: /cvs/gnome/gnome-vfs/libgnomevfs/gnome-vfs-dns-sd.c,v
retrieving revision 1.9
diff -u -r1.9 gnome-vfs-dns-sd.c
--- gnome-vfs-dns-sd.c	21 Sep 2004 08:10:19 -0000	1.9
+++ gnome-vfs-dns-sd.c	10 Jan 2005 14:04:18 -0000
@@ -48,6 +48,22 @@
 
 #define DNS_REPLY_SIZE (64*1024)
 
+
+/* Some systems don't those namespaced constants defined, see 
+ * http://bugzilla.gnome.org/show_bug.cgi?id=162289
+ * I'm assuming that if 1 constant isn't defined, then all the others
+ * are missing too, please file a bug if that's not the case on your system
+ */
+#ifndef NS_MAXDNAME
+#define NS_MAXDNAME MAXDNAME
+#define NS_HFIXEDSZ HFIXEDSZ
+#define ns_c_in     C_IN
+#define ns_t_any    T_ANY
+#define ns_t_srv    T_SRV
+#define ns_t_txt    T_TXT
+#define ns_t_ptr    T_PTR
+#endif /* NS_MAXDNAME */
+
 /* Unicast DNS browsing: */
 
 typedef struct {
