X-Git-Url: https://git.xonotic.org/?a=blobdiff_plain;f=util.c;h=ca8f2e87ae5d49213400bf13021118a12ba7be59;hb=004832f6ec167eedf346886942466a014dfe873b;hp=efed22177948bb1fbcf53a78d796ecd76eb3fc1b;hpb=0eab97283f30db40344105a699440d7b5fbd2f96;p=xonotic%2Fgmqcc.git diff --git a/util.c b/util.c index efed221..ca8f2e8 100644 --- a/util.c +++ b/util.c @@ -23,6 +23,7 @@ */ #include #include +#include #include "gmqcc.h" @@ -320,7 +321,7 @@ int util_asprintf(char **ret, const char *fmt, ...) { allocated = (char*)mem_a(4096); /* A page must be enough */ strerror_s(allocated, 4096, num); - + vec_push(vector, allocated); return (const char *)allocated; }