This is the mail archive of the
cygwin
mailing list for the Cygwin project.
RE: xfce4 - xffm
- From: "Dave Korn" <dk at artimi dot com>
- To: <cygwin at cygwin dot com>
- Date: Thu, 10 Jun 2004 18:36:32 +0100
- Subject: RE: xfce4 - xffm
> -----Original Message-----
> From: Igor Pechtchanski
> Sent: 10 June 2004 17:48
> IMO, this is a bug in <mntent.h>. There's no reason not to
> include all
> the prerequisites, as include guards will take care of
> multiple includes.
> It shouldn't require the users to include other headers before it...
>
> Yes, I know, I know, PTC...
Don't think that this one should need an assign!
--- mntent.old.h 2004-06-10 18:33:11.485938400 +0100
+++ mntent.new.h 2004-06-10 18:35:13.501071300 +0100
@@ -11,6 +11,10 @@ details. */
#ifndef _MNTENT_H
#define _MNTENT_H
+#ifndef _STDIO_H_
+#include <stdio.h> /* For FILE type. */
+#endif
+
#ifdef __cplusplus
extern "C" {
#endif
@@ -25,6 +29,7 @@ struct mntent
int mnt_passno;
};
+
#ifndef _NOMNTENT_FUNCS
FILE *setmntent (const char *__filep, const char *__type);
struct mntent *getmntent (FILE *__filep);
cheers,
DaveK
--
Can't think of a witty .sigline today....
--
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/