On Fri, Nov 17, 2000 at 07:17:05PM +0000, John Levon wrote:
> On Fri, 17 Nov 2000, Kayvan Sylvan wrote:
>
> > This fixes my compile problem on Solaris. It turns out that mkstemp()
> > is defined by gcc-2.95 somewhere in its internals, so it *is* available
> > which is why the configure defines HAVE_MKSTEMP
> >
> > However, my system header files do not declare mkstemp (and neither do the
> > gcc headers). That's why this fix is necessary (and I believe it's also
> > harmless on systems that already declare mkstemp).
> >
> > ---Kayvan
>
> It just sounds like you have a mis-installed system to me ... I just
> logged onto a SunOS 5.7 box here, and mkstemp was there in stdlib.h
>
> Have you actually grepped through the headers ? I suspect what is really
> happening is we need to define _POSIX_C_SOURCE here. We should add some
> configury for this, not a hack in source, IMHO.
Yes, I have grepped through the headers. No, this is not a mis-installed
system. This is a generic SunOS 5.5.1 system (not SunOS 5.7).
--
Kayvan A. Sylvan (650-584-1189)
Central Engineering Services
Email: [EMAIL PROTECTED]
Alternate Email: [EMAIL PROTECTED]