I also installed this further change, which shouldn't hurt either. That old HAVE_MKSTEMP code was bogus anyway, since it should have been HAVE_DECL_MKSTEMP.
2006-09-20 Paul Eggert <[EMAIL PROTECTED]> * mkstemp-safer.c: Include "mkstemp.h" instead of <stdlib.h>. (mkstemp): Remove, since mkstemp.h does this for us. --- lib/mkstemp-safer.c 13 Sep 2006 22:38:14 -0000 1.5 +++ lib/mkstemp-safer.c 20 Sep 2006 20:16:48 -0000 1.7 @@ -22,13 +22,9 @@ #include "stdlib-safer.h" -#include <stdlib.h> +#include "mkstemp.h" #include "unistd-safer.h" -#if ! HAVE_MKSTEMP -int mkstemp (char *); -#endif - /* Like mkstemp, but do not return STDIN_FILENO, STDOUT_FILENO, or STDERR_FILENO. */