/* Utility and Unix shadow routines for GNU Emacs support programs on NT.
- Copyright (C) 1994, 2002-2013 Free Software Foundation, Inc.
+ Copyright (C) 1994, 2002-2014 Free Software Foundation, Inc.
This file is part of GNU Emacs.
/* Include these headers now so we don't have to worry about include
order dependencies in common source files. */
#include <direct.h>
+#include <fcntl.h>
#include <io.h>
#include <stdio.h>
int setregid (unsigned rgid, unsigned gid);
char * getpass (const char * prompt);
int fchown (int fd, unsigned uid, unsigned gid);
+int mkostemp (char * template, int flags);
/* redirect or undo interceptions created by config.h */
#undef access
#undef fopen
#undef mkdir
#define mkdir _mkdir
-#undef mktemp
-#define mktemp _mktemp
#undef open
#define open _open
#undef pipe
#define pipe _pipe
#undef read
#define read _read
-#undef rename
#undef rmdir
#define rmdir _rmdir
#undef unlink