Hi.  This patch adds a missing include to mntent.h.
        Igor
==============================================================================
2006-02-03  Igor Peshansky  <[EMAIL PROTECTED]>

        * include/mntent.h: Add missing #include.

-- 
                                http://cs.nyu.edu/~pechtcha/
      |\      _,,,---,,_            [EMAIL PROTECTED] | [EMAIL PROTECTED]
ZZZzz /,`.-'`'    -.  ;-;;,_            Igor Peshansky, Ph.D. (name changed!)
     |,4-  ) )-,_. ,\ (  `'-'           old name: Igor Pechtchanski
    '---''(_/--'  `-'\_) fL     a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

"Las! je suis sot... -Mais non, tu ne l'es pas, puisque tu t'en rends compte."
"But no -- you are no fool; you call yourself a fool, there's proof enough in
that!" -- Rostand, "Cyrano de Bergerac"
Index: winsup/cygwin/include/mntent.h
===================================================================
RCS file: /cvs/src/src/winsup/cygwin/include/mntent.h,v
retrieving revision 1.3
diff -u -p -r1.3 mntent.h
--- winsup/cygwin/include/mntent.h      5 Mar 2001 21:29:20 -0000       1.3
+++ winsup/cygwin/include/mntent.h      3 Feb 2006 18:12:20 -0000
@@ -26,6 +26,8 @@ struct mntent
 };
 
 #ifndef _NOMNTENT_FUNCS
+#include <stdio.h>  /* For FILE type. */
+
 FILE *setmntent (const char *__filep, const char *__type);
 struct mntent *getmntent (FILE *__filep);
 int addmntent (FILE *__filep, const struct mntent *__mnt);

Reply via email to