On Mon, 2009-08-17 at 22:58 -0500, David C. Rankin wrote:
The GNU C library doc says
is supposed to have the struct stat file errors defined. (See GNUlibc 14.9.2 Reading the Attributes of a File) However compiling a simple test program with the sys/stat.h header returns: 22:32 alchemy:~/prg/ccpp/src-c/prj/depo> gcc -o getln getln.c getln.c: In function ‘main’: getln.c:22: error: ‘ENOENT’ undeclared (first use in this function) Grepping around /usr/include, I found the DEFINE statements in the apache header and I can compile just fine with that, but I know that is a cludge. What package am I missing that gives the correct header for the "usual file name errors"?
include