[PATCH] Add missing include to mntent.h

Igor Peshansky pechtcha@cs.nyu.edu
Mon Feb 13 18:47:00 GMT 2006


Hi.  This patch adds a missing include to mntent.h.
	Igor
==============================================================================
2006-02-03  Igor Peshansky  <pechtcha@cs.nyu.edu>

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

-- 
				http://cs.nyu.edu/~pechtcha/
      |\      _,,,---,,_	    pechtcha@cs.nyu.edu | igor@watson.ibm.com
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"
-------------- next part --------------
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);


More information about the Cygwin-patches mailing list