X-Git-Url: https://diplodocus.org/git/nmh/blobdiff_plain/2b5c5779f2eb63019446a69c3e2c6f871e71c3df..e458e7d100c31d7229d376272f90ef93052ff43f:/uip/spost.c diff --git a/uip/spost.c b/uip/spost.c index 58d4ae39..c5b27a08 100644 --- a/uip/spost.c +++ b/uip/spost.c @@ -346,7 +346,11 @@ main (int argc, char **argv) out = stdout; } else { +#ifdef HAVE_MKSTEMP + mkstemp (tmpfil); +#else mktemp (tmpfil); +#endif if ((out = fopen (tmpfil, "w")) == NULL) adios (tmpfil, "unable to create"); chmod (tmpfil, 0600);