Only g++ supports variable-size arrays nowadays.
[gnulib.git] / lib / mkstemp-safer.c
index e244d6c..365b3e6 100644 (file)
 
 /* Written by Paul Eggert.  */
 
-#ifdef HAVE_CONFIG_H
-# include <config.h>
-#endif
+#include <config.h>
 
 #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.  */