summaryrefslogtreecommitdiff
path: root/www/nginx-devel/files/extra-patch-ngx_rtmp_exec_module.c
blob: 113d974a8614a114c9912808cbb39cf497de4fab (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
--- ../arut-nginx-rtmp-module-f7f24ba/ngx_rtmp_exec_module.c.orig	2012-07-31 20:59:43.000000000 +0400
+++ ../arut-nginx-rtmp-module-f7f24ba/ngx_rtmp_exec_module.c	2012-07-31 21:00:28.000000000 +0400
@@ -4,7 +4,11 @@
 
 
 #include "ngx_rtmp_cmd_module.h"
+#ifdef NGX_FREEBSD
+#include <stdlib.h>
+#else
 #include <malloc.h>
+#endif
 
 #ifdef NGX_LINUX
 #include <unistd.h>