aboutsummaryrefslogtreecommitdiffstats
path: root/g10/exec.c
diff options
context:
space:
mode:
Diffstat (limited to 'g10/exec.c')
-rw-r--r--g10/exec.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/g10/exec.c b/g10/exec.c
index a49fe15d2..b1fc2c70f 100644
--- a/g10/exec.c
+++ b/g10/exec.c
@@ -39,6 +39,7 @@
#include "i18n.h"
#include "iobuf.h"
#include "util.h"
+#include "mkdtemp.h"
#include "exec.h"
#ifdef NO_EXEC
@@ -55,10 +56,6 @@ int set_exec_path(const char *path,int method) { return GPG_ERR_GENERAL; }
#else /* ! NO_EXEC */
-#ifndef HAVE_MKDTEMP
-char *mkdtemp(char *template);
-#endif
-
#if defined (_WIN32)
/* This is a nicer system() for windows that waits for programs to
return before returning control to the caller. I hate helpful