openbsd-ports/devel/luaevent/patches/patch-src_event_buffer_c
2014-11-18 10:17:17 +00:00

16 lines
374 B
Plaintext

$OpenBSD: patch-src_event_buffer_c,v 1.1 2014/11/18 10:17:18 brad Exp $
Replace the malloc.h header with stdlib.h.
--- src/event_buffer.c.orig Thu Feb 25 09:52:25 2010
+++ src/event_buffer.c Mon Nov 3 23:34:14 2014
@@ -3,7 +3,7 @@
#include "event_buffer.h"
#include <lauxlib.h>
-#include <malloc.h>
+#include <stdlib.h>
#define EVENT_BUFFER_MT "EVENT_BUFFER_MT"