Hello I think #include <stdio.h> is needed in mntent.h for definition of FILE. Here is patch for it.
--- mntent.h.old 2006-06-12 19:39:27.000000000 +0400 +++ mntent.h 2006-06-12 19:56:23.015625000 +0400 @@ -26,6 +26,7 @@ }; #ifndef _NOMNTENT_FUNCS +#include <stdio.h> /* needed for FILE */ FILE *setmntent (const char *__filep, const char *__type); struct mntent *getmntent (FILE *__filep); int addmntent (FILE *__filep, const struct mntent *__mnt);
-- 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/