Date: Sun, 29 Dec 1996 13:28:07 +0200 (IST) From: Eli Zaretskii To: Michael Freitas cc: djgpp AT delorie DOT com Subject: Re: Need help with UNIX "caddr_t" in DJGPP V2.0 In-Reply-To: <32C3025F.269C@gatecom.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII On Thu, 26 Dec 1996, Michael Freitas wrote: > Does anyone know how to compile UNIX source code requiring the > open constant "caddr_t" with DJGPP V2.0. I am unable to find "caddr_t" > referenced in the V2.0 Standard "C" Librar DJGPP v2.0 doesn't define that typedef because it doesn't support functions which use it. You should in general #ifdef away the code fragments that use it when porting programs. If that somehow is not an option, please post a code fragment where caddr_t is used, then a specific solution for your case could be suggested.