Date: Thu, 15 Feb 1996 10:28:56 +0200 (IST) From: Eli Zaretskii To: Frank Donahoe Cc: Djgpp Subject: Re: ioctl missing On Wed, 14 Feb 1996, Frank Donahoe wrote: > I tried your suggestion of replacing the local config.h with > but the compilation of "ls" still fails unable to find "ioclt.h." I have > a working 32-bit "ls.exe" compiled with DJGPP V2 to prove that it worked > once. It sometimes helps to look at the source which includes the missing file and do the obvious thing. Look at ls.c, it needs *only* if _POSIX_SOURCE isn't defined. So how about defining _POSIX_SOURCE (add -D_POSIX_SOURCE to CPPFLAGS in the Makefile) and seeing what happens? DJGPP v2.0 is POSIX-compliant and shouldn't have any problems compiling when this symbol is defined.