summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--winsup/cygwin/ChangeLog4
-rw-r--r--winsup/cygwin/include/mntent.h3
2 files changed, 6 insertions, 1 deletions
diff --git a/winsup/cygwin/ChangeLog b/winsup/cygwin/ChangeLog
index 0228a11e9..3d618cabd 100644
--- a/winsup/cygwin/ChangeLog
+++ b/winsup/cygwin/ChangeLog
@@ -1,5 +1,9 @@
2006-02-13 Igor Peshansky <pechtcha@cs.nyu.edu>
+ * include/mntent.h: Add missing #include.
+
+2006-02-13 Igor Peshansky <pechtcha@cs.nyu.edu>
+
* gentls_offsets: Fix typo in error message.
2006-02-10 Christopher Faylor <cgf@timesys.com>
diff --git a/winsup/cygwin/include/mntent.h b/winsup/cygwin/include/mntent.h
index fde1680a0..5fa4ff945 100644
--- a/winsup/cygwin/include/mntent.h
+++ b/winsup/cygwin/include/mntent.h
@@ -1,6 +1,6 @@
/* mntent.h
- Copyright 1996, 1998, 1999, 2000, 2001 Red Hat, Inc.
+ Copyright 1996, 1998, 1999, 2000, 2001, 2006 Red Hat, Inc.
This file is part of Cygwin.
@@ -26,6 +26,7 @@ struct mntent
};
#ifndef _NOMNTENT_FUNCS
+#include <stdio.h>
FILE *setmntent (const char *__filep, const char *__type);
struct mntent *getmntent (FILE *__filep);
int addmntent (FILE *__filep, const struct mntent *__mnt);