builtin/ls-remote.c: rearrange xcalloc arguments
[gitweb.git] / git-compat-util.h
index 9158ed634a8f62fd6c248fbfbc0978fae608b108..f6d3a46622d1de2497b56274a255d7bca46117dd 100644 (file)
@@ -716,4 +716,11 @@ void warn_on_inaccessible(const char *path);
 /* Get the passwd entry for the UID of the current process. */
 struct passwd *xgetpwuid_self(void);
 
+#ifdef GMTIME_UNRELIABLE_ERRORS
+struct tm *git_gmtime(const time_t *);
+struct tm *git_gmtime_r(const time_t *, struct tm *);
+#define gmtime git_gmtime
+#define gmtime_r git_gmtime_r
+#endif
+
 #endif