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.
john
--
"If one tells the truth, one is sure, sooner or later, to be found out."
- Oscar Wilde