diff --git a/git-compat-util.h b/git-compat-util.h
index c7cf2d5d9cdbfd4ed20c8b8ea49a36af7c138a4e..f7217ad4309b42f65c3f4beae4f8d0c5b501e59d 100644 (file)
--- a/git-compat-util.h
+++ b/git-compat-util.h
extern char *gitmkdtemp(char *);
#endif
+#ifdef NO_MKSTEMPS
+#define mkstemps gitmkstemps
+extern int gitmkstemps(char *, int);
+#endif
+
#ifdef NO_UNSETENV
#define unsetenv gitunsetenv
extern void gitunsetenv(const char *);