X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=git-compat-util.h;h=60c8432f854f345b77b469d64dd1429cee74d30d;hb=19c61a58cf4e989cee2f11ad856c6c18c039486f;hp=5c596875c2e78a92031915948444971126d91a78;hpb=3259ada4c79eb1e8213ab44c7ce3ec6f7775cd33;p=git.git diff --git a/git-compat-util.h b/git-compat-util.h index 5c596875c..60c8432f8 100644 --- a/git-compat-util.h +++ b/git-compat-util.h @@ -96,6 +96,7 @@ #include #include #include +#include #ifndef NO_SYS_SELECT_H #include #endif @@ -198,7 +199,6 @@ extern void warning(const char *err, ...) __attribute__((format (printf, 1, 2))) extern void set_die_routine(NORETURN_PTR void (*routine)(const char *err, va_list params)); extern int prefixcmp(const char *str, const char *prefix); -extern time_t tm_to_time_t(const struct tm *tm); static inline const char *skip_prefix(const char *str, const char *prefix) {