Skip to content

Commit

Permalink
included ngx_config.h & ngx_core.h to every file
Browse files Browse the repository at this point in the history
  • Loading branch information
arut committed Jun 12, 2013
1 parent 021db6c commit f94fcee
Show file tree
Hide file tree
Showing 34 changed files with 65 additions and 6 deletions.
2 changes: 2 additions & 0 deletions hls/ngx_rtmp_hls_module.c
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@
*/


#include <ngx_config.h>
#include <ngx_core.h>
#include <ngx_rtmp.h>
#include <ngx_rtmp_cmd_module.h>
#include <ngx_rtmp_codec_module.h>
Expand Down
2 changes: 2 additions & 0 deletions hls/ngx_rtmp_mpegts.c
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@
*/


#include <ngx_config.h>
#include <ngx_core.h>
#include "ngx_rtmp_mpegts.h"


Expand Down
1 change: 1 addition & 0 deletions hls/ngx_rtmp_mpegts.h
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
#define _NGX_RTMP_MPEGTS_H_INCLUDED_


#include <ngx_config.h>
#include <ngx_core.h>


Expand Down
3 changes: 3 additions & 0 deletions ngx_rtmp_amf.c
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,9 @@
* Copyright (c) 2012 Roman Arutyunyan
*/


#include <ngx_config.h>
#include <ngx_core.h>
#include "ngx_rtmp_amf.h"
#include "ngx_rtmp.h"
#include <string.h>
Expand Down
2 changes: 2 additions & 0 deletions ngx_rtmp_auto_push_module.c
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@
*/


#include <ngx_config.h>
#include <ngx_core.h>
#include "ngx_rtmp_cmd_module.h"
#include "ngx_rtmp_relay_module.h"

Expand Down
2 changes: 2 additions & 0 deletions ngx_rtmp_bandwidth.c
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@
*/


#include <ngx_config.h>
#include <ngx_core.h>
#include "ngx_rtmp_bandwidth.h"


Expand Down
1 change: 1 addition & 0 deletions ngx_rtmp_bandwidth.h
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
#define _NGX_RTMP_BANDWIDTH_H_INCLUDED_


#include <ngx_config.h>
#include <ngx_core.h>


Expand Down
3 changes: 3 additions & 0 deletions ngx_rtmp_cmd_module.c
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,9 @@
* Copyright (c) 2012 Roman Arutyunyan
*/


#include <ngx_config.h>
#include <ngx_core.h>
#include "ngx_rtmp_cmd_module.h"
#include "ngx_rtmp_streams.h"

Expand Down
2 changes: 2 additions & 0 deletions ngx_rtmp_codec_module.c
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@
*/


#include <ngx_config.h>
#include <ngx_core.h>
#include "ngx_rtmp_codec_module.h"
#include "ngx_rtmp_live_module.h"
#include "ngx_rtmp_cmd_module.h"
Expand Down
2 changes: 2 additions & 0 deletions ngx_rtmp_codec_module.h
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@
#define _NGX_RTMP_CODEC_H_INCLUDED_


#include <ngx_config.h>
#include <ngx_core.h>
#include "ngx_rtmp.h"


Expand Down
4 changes: 2 additions & 2 deletions ngx_rtmp_control_module.c
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@
*/


#include <nginx.h>
#include <ngx_config.h>
#include <ngx_core.h>
#include <ngx_http.h>

#include "ngx_rtmp.h"
#include "ngx_rtmp_live_module.h"
#include "ngx_rtmp_record_module.h"
Expand Down
1 change: 0 additions & 1 deletion ngx_rtmp_enotify_module.c
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@
#include <ngx_config.h>
#include <ngx_core.h>
#include "ngx_rtmp.h"

#include "ngx_rtmp_eval.h"
#include "ngx_rtmp_cmd_module.h"
#include "ngx_rtmp_record_module.h"
Expand Down
2 changes: 2 additions & 0 deletions ngx_rtmp_eval.c
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@
*/


#include <ngx_config.h>
#include <ngx_core.h>
#include "ngx_rtmp_eval.h"


Expand Down
3 changes: 3 additions & 0 deletions ngx_rtmp_eval.h
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,9 @@
#ifndef _NGX_RTMP_EVAL_H_INCLUDED_
#define _NGX_RTMP_EVAL_H_INCLUDED_


#include <ngx_config.h>
#include <ngx_core.h>
#include "ngx_rtmp.h"


Expand Down
2 changes: 2 additions & 0 deletions ngx_rtmp_exec_module.c
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@
*/


#include <ngx_config.h>
#include <ngx_core.h>
#include "ngx_rtmp_cmd_module.h"
#include "ngx_rtmp_eval.h"
#include <stdlib.h>
Expand Down
2 changes: 2 additions & 0 deletions ngx_rtmp_flv_module.c
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@
*/


#include <ngx_config.h>
#include <ngx_core.h>
#include "ngx_rtmp_play_module.h"
#include "ngx_rtmp_codec_module.h"
#include "ngx_rtmp_streams.h"
Expand Down
2 changes: 2 additions & 0 deletions ngx_rtmp_handler.c
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@
*/


#include <ngx_config.h>
#include <ngx_core.h>
#include "ngx_rtmp.h"
#include "ngx_rtmp_amf.h"

Expand Down
2 changes: 2 additions & 0 deletions ngx_rtmp_handshake.c
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@
*/


#include <ngx_config.h>
#include <ngx_core.h>
#include "ngx_rtmp.h"

#include <openssl/hmac.h>
Expand Down
2 changes: 2 additions & 0 deletions ngx_rtmp_init.c
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@
*/


#include <ngx_config.h>
#include <ngx_core.h>
#include "ngx_rtmp.h"


Expand Down
2 changes: 2 additions & 0 deletions ngx_rtmp_limit_module.c
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@
*/


#include <ngx_config.h>
#include <ngx_core.h>
#include "ngx_rtmp.h"


Expand Down
2 changes: 2 additions & 0 deletions ngx_rtmp_live_module.c
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@
*/


#include <ngx_config.h>
#include <ngx_core.h>
#include "ngx_rtmp_live_module.h"
#include "ngx_rtmp_cmd_module.h"
#include "ngx_rtmp_codec_module.h"
Expand Down
2 changes: 2 additions & 0 deletions ngx_rtmp_live_module.h
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@
#define _NGX_RTMP_LIVE_H_INCLUDED_


#include <ngx_config.h>
#include <ngx_core.h>
#include "ngx_rtmp.h"
#include "ngx_rtmp_cmd_module.h"
#include "ngx_rtmp_bandwidth.h"
Expand Down
2 changes: 2 additions & 0 deletions ngx_rtmp_log_module.c
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@
*/


#include <ngx_config.h>
#include <ngx_core.h>
#include "ngx_rtmp_cmd_module.h"


Expand Down
2 changes: 2 additions & 0 deletions ngx_rtmp_mp4_module.c
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@
*/


#include <ngx_config.h>
#include <ngx_core.h>
#include "ngx_rtmp_play_module.h"
#include "ngx_rtmp_codec_module.h"
#include "ngx_rtmp_streams.h"
Expand Down
1 change: 0 additions & 1 deletion ngx_rtmp_notify_module.c
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@
#include <ngx_config.h>
#include <ngx_core.h>
#include "ngx_rtmp.h"

#include "ngx_rtmp_cmd_module.h"
#include "ngx_rtmp_netcall_module.h"
#include "ngx_rtmp_record_module.h"
Expand Down
2 changes: 2 additions & 0 deletions ngx_rtmp_play_module.c
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@
*/


#include <ngx_config.h>
#include <ngx_core.h>
#include "ngx_rtmp_play_module.h"
#include "ngx_rtmp_cmd_module.h"
#include "ngx_rtmp_netcall_module.h"
Expand Down
2 changes: 2 additions & 0 deletions ngx_rtmp_play_module.h
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@
#define _NGX_RTMP_PLAY_H_INCLUDED_


#include <ngx_config.h>
#include <ngx_core.h>
#include "ngx_rtmp.h"
#include "ngx_rtmp_cmd_module.h"

Expand Down
2 changes: 2 additions & 0 deletions ngx_rtmp_receive.c
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@
*/


#include <ngx_config.h>
#include <ngx_core.h>
#include "ngx_rtmp.h"
#include "ngx_rtmp_amf.h"
#include "ngx_rtmp_cmd_module.h"
Expand Down
2 changes: 2 additions & 0 deletions ngx_rtmp_record_module.h
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@
#define _NGX_RTMP_RECORD_H_INCLUDED_


#include <ngx_config.h>
#include <ngx_core.h>
#include "ngx_rtmp.h"


Expand Down
2 changes: 2 additions & 0 deletions ngx_rtmp_relay_module.c
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@
*/


#include <ngx_config.h>
#include <ngx_core.h>
#include "ngx_rtmp_relay_module.h"
#include "ngx_rtmp_cmd_module.h"

Expand Down
2 changes: 2 additions & 0 deletions ngx_rtmp_relay_module.h
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@
#define _NGX_RTMP_RELAY_H_INCLUDED_


#include <ngx_config.h>
#include <ngx_core.h>
#include "ngx_rtmp.h"


Expand Down
2 changes: 2 additions & 0 deletions ngx_rtmp_send.c
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@
*/


#include <ngx_config.h>
#include <ngx_core.h>
#include "ngx_rtmp.h"
#include "ngx_rtmp_amf.h"
#include "ngx_rtmp_streams.h"
Expand Down
2 changes: 2 additions & 0 deletions ngx_rtmp_shared.c
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@
*/


#include <ngx_config.h>
#include <ngx_core.h>
#include "ngx_rtmp.h"


Expand Down
4 changes: 2 additions & 2 deletions ngx_rtmp_stat_module.c
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@
*/


#include <nginx.h>
#include <ngx_config.h>
#include <ngx_core.h>
#include <ngx_http.h>

#include "ngx_rtmp.h"
#include "ngx_rtmp_live_module.h"
#include "ngx_rtmp_play_module.h"
Expand Down

0 comments on commit f94fcee

Please sign in to comment.