Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com From: "Dave Korn" To: Subject: RE: xfce4 - xffm Date: Thu, 10 Jun 2004 18:36:32 +0100 MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit In-Reply-To: Message-ID: X-OriginalArrivalTime: 10 Jun 2004 17:36:32.0484 (UTC) FILETIME=[78512A40:01C44F11] > -----Original Message----- > From: Igor Pechtchanski > Sent: 10 June 2004 17:48 > IMO, this is a bug in . 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 /* 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/