Re: linc-0.1.10 problem building on Solaris 2.6
- From: Michael Meeks <michael ximian com>
- To: <dahaverk rockwellcollins com>
- Cc: <orbit-list gnome org>
- Subject: Re: linc-0.1.10 problem building on Solaris 2.6
- Date: Fri, 14 Dec 2001 05:55:29 -0500 (EST)
Hi Dave,
On Wed, 12 Dec 2001 dahaverk@rockwellcollins.com wrote:
> I've also encountered the following errors in linc that I haven't
> tracked down a fix for yet....
>
> linc-protocols.c: In function `linc_protocol_get_sockinfo_ipv46':
> linc-protocols.c:476: `NI_MAXSERV' undeclared (first use in this function)
Does this patch help ? of course it's a bit superstitious, we
should prolly just include netdb.h always but hey.
Regards,
Michael.
Index: ChangeLog
===================================================================
RCS file: /cvs/gnome/linc/ChangeLog,v
retrieving revision 1.84
diff -u -p -u -r1.84 ChangeLog
--- ChangeLog 2001/12/14 10:48:01 1.84
+++ ChangeLog 2001/12/14 10:54:08
@@ -1,3 +1,8 @@
+2001-12-14 Michael Meeks <michael@ximian.com>
+
+ * src/linc-protocols.c: include netdb.h if we're
+ missing some NI_ defines.
+
2001-12-14 David Haverkamp <dahaverk@rockwellcollins.com>
* src/linc-protocols.c: include arpa/nameser.h before
Index: src/linc-protocols.c
===================================================================
RCS file: /cvs/gnome/linc/src/linc-protocols.c,v
retrieving revision 1.33
diff -u -p -u -r1.33 linc-protocols.c
--- src/linc-protocols.c 2001/12/14 10:48:02 1.33
+++ src/linc-protocols.c 2001/12/14 10:54:08
@@ -43,6 +43,10 @@
#include <arpa/nameser.h>
#include <resolv.h>
+#if !defined (NI_MAXSERV) || !defined (NI_MAXHOST)
+#include <netdb.h>
+#endif
+
#include <linc/linc-protocol.h>
#include <linc/linc-connection.h>
--
mmeeks@gnu.org <><, Pseudo Engineer, itinerant idiot
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]