summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChristopher Faylor <me@cgf.cx>2006-02-13 19:01:32 +0000
committerChristopher Faylor <me@cgf.cx>2006-02-13 19:01:32 +0000
commit49bc9a6939415778b76f722305c51d29c785ec20 (patch)
tree8032983b95f5ef7b496bb759b7abc98ce2ab7a18
parent462c98e96a267e9da1e9ba9d230528336906c0d4 (diff)
downloadcygnal-49bc9a6939415778b76f722305c51d29c785ec20.tar.gz
cygnal-49bc9a6939415778b76f722305c51d29c785ec20.tar.bz2
cygnal-49bc9a6939415778b76f722305c51d29c785ec20.zip
* include/mntent.h: Add missing #include.
-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);