diff --git a/git-compat-util.h b/git-compat-util.h index 219ac871b4..75b2a4bc9b 100644 --- a/git-compat-util.h +++ b/git-compat-util.h @@ -54,6 +54,8 @@ #include #include #include +#else +int mkstemp (char *__template); #endif #include #include @@ -435,7 +437,6 @@ int kill(pid_t pid, int sig); unsigned int sleep (unsigned int __seconds); const char *inet_ntop(int af, const void *src, char *dst, size_t cnt); -int mkstemp (char *__template); int gettimeofday(struct timeval *tv, void *tz); int pipe(int filedes[2]);