On Fri, Sep 03, 2004 at 10:29:45AM +0300, Jari Aalto wrote: >I'm trying to compile Linux program that starts like this: > > int main(int argc, char **argv) > { > char **dirname = NULL; > int i,j,n,p,q,dtotal,ftotal,colored = FALSE; > struct stat64 st; > >But the compiler says: > > tree.c: In function `main': > tree.c:204: error: storage size of `st' isn't known > tree.c:204: warning: unused variable `st' > >What needs to be done in Cygwin to see "struct stat" ?
There is no stat64 in cygwin. Use stat. This. Is a recording. I guess it should be a FAQ. cgf -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/