Date: Sun, 14 Feb 1999 13:00:20 +0200 (IST) From: Eli Zaretskii X-Sender: eliz AT is To: Kbwms AT aol DOT com cc: djgpp-workers AT delorie DOT com Subject: Re: socket.h In-Reply-To: <21626fe1.36c4e2c7@aol.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Reply-To: djgpp-workers AT delorie DOT com On Fri, 12 Feb 1999 Kbwms AT aol DOT com wrote: > On 02-12-99 at 16:31:07 EST you wrote: > > > Header file lang/cxx/osfcn.h contains the following: > > > > but it is enclosed in > > > > #if _G_HAVE_SYS_SOCKET > > #include > > #endif > > > > so simply undefine the symbol and it should > > work or check your system, where this symbol > > (which is normally not defined) was defined. > > Unfortunately, my query was not all that bright. One might > even say "stupid." I'm trying to make groff from source and > not doing very well. If building some package (Groff) reveals a bug in another package (the C++ libraries and headers), then IMHO the correct solution is to fix the bug in the other package (and report it). No header, either C++ or otherwise, should include sys/socket.h in DJGPP, since sys/socket.h doesn't exist in DJGPP.