X-Git-Url: https://git.notmuchmail.org/git?a=blobdiff_plain;f=compat%2Fcompat.h;h=5a402d5c7693e7e6066382ce4cfe1983664ef7b0;hb=dfab8e5e49d90c415f9585a02a2b0d6f72b4083a;hp=0c4ac66ff5912bee6d38621218ef912b16f88c2e;hpb=49a0b96486242ca4fc4d26e5b01a34e9df7a9f9f;p=notmuch diff --git a/compat/compat.h b/compat/compat.h index 0c4ac66f..5a402d5c 100644 --- a/compat/compat.h +++ b/compat/compat.h @@ -53,6 +53,15 @@ getdelim (char **lineptr, size_t *n, int delimiter, FILE *fp); char* strcasestr(const char *haystack, const char *needle); #endif /* !HAVE_STRCASESTR */ +#if !HAVE_STRSEP +char *strsep(char **stringp, const char *delim); +#endif /* !HAVE_STRSEP */ + +#if !HAVE_TIMEGM +#include +time_t timegm (struct tm *tm); +#endif /* !HAVE_TIMEGM */ + /* Silence gcc warnings about unused results. These warnings exist * for a reason; any use of this needs to be justified. */ #ifdef __GNUC__