X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=git-compat-util.h;h=812f55af89178a30a18dc54b69fb8802f3e1d9cf;hb=628511a5883fa809e86b34ebc147ac62eb214458;hp=5c596875c2e78a92031915948444971126d91a78;hpb=6d975c24a96d607061dbcf354a50dc8410ed4b55;p=git.git diff --git a/git-compat-util.h b/git-compat-util.h index 5c596875c..812f55af8 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 @@ -344,6 +345,7 @@ extern void release_pack_memory(size_t, int); extern char *xstrdup(const char *str); extern void *xmalloc(size_t size); +extern void *xmallocz(size_t size); extern void *xmemdupz(const void *data, size_t len); extern char *xstrndup(const char *str, size_t len); extern void *xrealloc(void *ptr, size_t size);