Re: Warning: implicit declaration of function `lstat'



Thanks for the reply ztl_post,

gstdio.h #includes <sys/stat.h>, so I did not think I had to include it myself.

Adding it to my source file does not solve the problem, nor did adding all
the #includes shown by 'man lstat':

   #include <sys/types.h>
   #include <sys/stat.h>
   #include <unistd.h>

I have checked for stat.h on my system - it is under /usr/include/sys/.

What else should I check?

I am running gcc v 3.3.5 under ubuntu 5.04 b.t.w.

Regards,

Kevin



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]