X-Git-Url: http://git.asbjorn.biz/?p=swftools.git;a=blobdiff_plain;f=lib%2Fq.h;h=42c938df0b863f4100a76d861c0a2354d6eba25f;hp=d51914b391425928b08f62a58bc1d231e50f256e;hb=a12a13df2798b89ec5550a01544b74e4f3265784;hpb=49601b1a79d549b1e65462b3abcea3402e66b713 diff --git a/lib/q.h b/lib/q.h index d51914b..42c938d 100644 --- a/lib/q.h +++ b/lib/q.h @@ -11,6 +11,7 @@ #define __q_h__ #include +#include "../config.h" #ifdef __cplusplus extern "C" { @@ -92,7 +93,7 @@ void dictionary_del(dictionary_t*dict, const char* name); void dictionary_clear(dictionary_t*dict); void dictionary_destroy(dictionary_t*dict); -char* strndup(const char*str, int size); +char* strdup_n(const char*str, int size); void* qmalloc_internal(int len); void* qrealloc_internal(void*old, int len);