aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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"