From: kagel AT quasar DOT bloomberg DOT com Date: Mon, 30 Dec 1996 14:06:23 -0500 Message-Id: <9612301906.AA04597@quasar.bloomberg.com > To: mfreitas AT gatecom DOT com Cc: djgpp AT delorie DOT com In-Reply-To: <32C3025F.269C@gatecom.com> (message from Michael Freitas on Thu, 26 Dec 1996 14:55:27 -0800) Subject: Re: Need help with UNIX "caddr_t" in DJGPP V2.0 Reply-To: kagel AT dg1 DOT bloomberg DOT com Errors-To: postmaster AT ns1 From: Michael Freitas Newsgroups: comp.os.msdos.djgpp Date: Thu, 26 Dec 1996 14:55:27 -0800 Organization: Gateway Online Lines: 19 Nntp-Posting-Host: ppp10-t.gatecom.com Mime-Version: 1.0 Content-Transfer-Encoding: 7bit X-Mailer: Mozilla 2.02 (Win16; I) Dj-Gateway: from newsgroup comp.os.msdos.djgpp Content-Type: text/plain; charset=us-ascii Content-Length: 629 Hello, 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" Library, despite it's reference in DJGPP V1.2. Since the source code requires the termios functions available only in V2.0, I can not use V1.2, and I must fix this "caddr_t" reference problem. How do I compile source code referencing "caddr_t" with DJGPP V2.0? On most UNIX systems caddr_t is defined in sys/types.h as: typedef caddr_t char *; Either define it in your own headers or add it to the DJGPP/include/sys/types.h -- Art S. Kagel, kagel AT quasar DOT bloomberg DOT com A proverb is no proverb to you 'till life has illustrated it. -- John Keats