X-Git-Url: http://git.xonotic.org/?a=blobdiff_plain;f=util.c;h=ca8f2e87ae5d49213400bf13021118a12ba7be59;hb=685925398c725e5722690b622e7938fd04c805ce;hp=efed22177948bb1fbcf53a78d796ecd76eb3fc1b;hpb=144672fada7324651eabbbd0eaec68ed4dd031c1;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; }