diff options
author | Tobias Markmann <tm@ayena.de> | 2008-11-28 18:36:04 +0100 |
---|---|---|
committer | Tobias Markmann <tm@ayena.de> | 2008-11-28 18:36:04 +0100 |
commit | 0df2b3f0c51f75dd9106671362bdfae7a8a44afd (patch) | |
tree | 4dfb304958c6478ec5b95aeeacc3504df1485133 | |
parent | 8e2b0deb94ea52b49404d5b9277061101bd03cff (diff) | |
download | prosody-0df2b3f0c51f75dd9106671362bdfae7a8a44afd.tar.gz prosody-0df2b3f0c51f75dd9106671362bdfae7a8a44afd.zip |
To use free you should include stdlib.h rather than malloc.h according to man page of free() and various C reference websites.
-rw-r--r-- | util-src/encodings.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/util-src/encodings.c b/util-src/encodings.c index ac24ebcf..13706a89 100644 --- a/util-src/encodings.c +++ b/util-src/encodings.c @@ -7,7 +7,7 @@ #define _CRT_SECURE_NO_DEPRECATE
#include <string.h>
-#include <malloc.h>
+#include <stdlib.h>
#include "lua.h"
#include "lauxlib.h"
|