Re: mc 4.5.18 compile error




>From: Matthew Ross Davis <mdavis@isi.net>

>Compiling on Solaris 7 with egcs 1.1.1

>/usr/include/sys/mnttab.h:46: parse error before `*'
>/usr/include/sys/mnttab.h:47: parse error before `*'


SNAP!  =O)

Do this for now:

go to gnome/gmount.c, line 62, and change it to look like this:

	#ifdef MOUNTED_GETMNTENT2	/* SVR4.  */
	#include <stdio.h>
	#include <sys/mnttab.h>
	#endif
	
by adding that one stdio.h include.

Works for me =O)

-------My opinion - Not sane, intelligent or necessarily useful-------
o o                                      mailto:Moredhel@earthling.net 
/v\ark R. Bowyer.  http://i.am/Moredhel  mailto:Mark.Bowyer@UK.Sun.COM
`-'                                             I'm the dots in .co.uk



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]