Date: Sun, 1 Jun 1997 16:20:44 +0300 (IDT) From: Eli Zaretskii To: "Cameron J. Mallory" cc: djgpp AT delorie DOT com Subject: Re: Problems with u_char In-Reply-To: <338EF81E.320F@wcug.wwu.edu> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Precedence: bulk On Fri, 30 May 1997, Cameron J. Mallory wrote: > u_char buf[4]; > > > Get compile error: > C:\cs460\PROG>gcc -o saddleba saddleba.c > saddleba.c: In function `getdiskparm': > saddleba.c:32: `u_char' undeclared (first use this function) `u_char' is a non-standard type, and DJGPP doesn't declare it. You need to declare it yourself, like so: typedef unsigned char u_char;