> Today I came across two programs that wouldn't compile because > of the symbol _fileno not being defined in the FILE struct. However, > one of these programs explictly checked for glibc. Please show us the bits of code in question. There is never a valid reason for using a member of FILE. For extracting the fd, there is the `fileno' function.