mirror of
https://github.com/zotanmew/nginx-rtmp-module.git
synced 2024-06-14 11:05:07 +02:00
fixed FreeBSD/MacOS compilation; Thanks to Ganesh Gunasegaran (itsgg)
This commit is contained in:
parent
d01128a3fb
commit
3d3d898430
|
@ -4,7 +4,10 @@
|
||||||
|
|
||||||
|
|
||||||
#include "ngx_rtmp_cmd_module.h"
|
#include "ngx_rtmp_cmd_module.h"
|
||||||
|
#include <stdlib.h>
|
||||||
|
#ifdef HAVE_MALLOC_H
|
||||||
#include <malloc.h>
|
#include <malloc.h>
|
||||||
|
#endif
|
||||||
|
|
||||||
#ifdef NGX_LINUX
|
#ifdef NGX_LINUX
|
||||||
#include <unistd.h>
|
#include <unistd.h>
|
||||||
|
|
Loading…
Reference in a new issue