aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthew Wild <mwild1@gmail.com>2011-10-12 17:00:15 +0100
committerMatthew Wild <mwild1@gmail.com>2011-10-12 17:00:15 +0100
commit2ba1c9dd465a9d659198ac63fbc8cbd918f0d31e (patch)
tree660cb3953fdad57b4c7aacb664d64605fab3363c
parente04e4d53ce0788f9a043c37d7c3710f5b0fc48b9 (diff)
downloadluaevent-prosody-2ba1c9dd465a9d659198ac63fbc8cbd918f0d31e.tar.gz
luaevent-prosody-2ba1c9dd465a9d659198ac63fbc8cbd918f0d31e.zip
malloc.h -> stdlib.h (thanks nulani)
-rw-r--r--src/buffer_event.c2
-rw-r--r--src/event_buffer.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/buffer_event.c b/src/buffer_event.c
index deb1963..e50e075 100644
--- a/src/buffer_event.c
+++ b/src/buffer_event.c
@@ -3,7 +3,7 @@
#include "buffer_event.h"
#include "utility.h"
#include <lauxlib.h>
-#include <malloc.h>
+#include <stdlib.h>
#include "event_buffer.h"
#define BUFFER_EVENT_MT "BUFFER_EVENT_MT"
diff --git a/src/event_buffer.c b/src/event_buffer.c
index ea66a94..823d738 100644
--- a/src/event_buffer.c
+++ b/src/event_buffer.c
@@ -3,7 +3,7 @@
#include "event_buffer.h"
#include <lauxlib.h>
-#include <malloc.h>
+#include <stdlib.h>
#define EVENT_BUFFER_MT "EVENT_BUFFER_MT"