aboutsummaryrefslogtreecommitdiffstats
path: root/compat/posix.h
diff options
context:
space:
mode:
Diffstat (limited to 'compat/posix.h')
-rw-r--r--compat/posix.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/compat/posix.h b/compat/posix.h
index 067a00f33b..245386fa4a 100644
--- a/compat/posix.h
+++ b/compat/posix.h
@@ -329,8 +329,7 @@ int gitsetenv(const char *, const char *, int);
#endif
#ifdef NO_MKDTEMP
-#define mkdtemp gitmkdtemp
-char *gitmkdtemp(char *);
+#define mkdtemp git_mkdtemp
#endif
#ifdef NO_UNSETENV