diff options
author | James Snyder <jbsnyder@fanplastic.org> | 2010-03-03 18:19:20 -0600 |
---|---|---|
committer | James Snyder <jbsnyder@fanplastic.org> | 2010-03-03 18:19:20 -0600 |
commit | d1c516f4beb47e79fb886e46a4b6e0cf432d850a (patch) | |
tree | 4abd6e6008787e9b63d02cf03d7960cd0c017d96 /src | |
parent | e04e4d53ce0788f9a043c37d7c3710f5b0fc48b9 (diff) | |
download | luaevent-prosody-d1c516f4beb47e79fb886e46a4b6e0cf432d850a.tar.gz luaevent-prosody-d1c516f4beb47e79fb886e46a4b6e0cf432d850a.zip |
Changes to compile on OS X.
- BSD version of install doesn't have -D flag
- stdlib.h should include malloc defs (malloc.h is obsolete)
Diffstat (limited to 'src')
-rw-r--r-- | src/buffer_event.c | 2 | ||||
-rw-r--r-- | src/event_buffer.c | 3 |
2 files changed, 2 insertions, 3 deletions
diff --git a/src/buffer_event.c b/src/buffer_event.c index deb1963..70b726c 100644 --- a/src/buffer_event.c +++ b/src/buffer_event.c @@ -1,9 +1,9 @@ /* LuaEvent - Copyright (C) 2007 Thomas Harning <harningt@gmail.com> * Licensed as LGPL - See doc/COPYING for details */ +#include <stdlib.h> #include "buffer_event.h" #include "utility.h" #include <lauxlib.h> -#include <malloc.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..a61c643 100644 --- a/src/event_buffer.c +++ b/src/event_buffer.c @@ -1,9 +1,8 @@ /* LuaEvent - Copyright (C) 2007 Thomas Harning <harningt@gmail.com> * Licensed as LGPL - See doc/COPYING for details */ - +#include <stdlib.h> #include "event_buffer.h" #include <lauxlib.h> -#include <malloc.h> #define EVENT_BUFFER_MT "EVENT_BUFFER_MT" |