Mail Archives: djgpp/1996/12/30/14:41:03
Errors-To: postmaster AT ns1
From: Michael Freitas <mfreitas AT gatecom DOT com>
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
- Raw text -