Welcome! Log In Create A New Profile

Advanced

[nginx] Core: ensure that ngx_config.h is always included first.

Sergey Kandaurov
April 16, 2015 11:26AM
details: http://hg.nginx.org/nginx/rev/cb790d1b2d16
branches:
changeset: 6106:cb790d1b2d16
user: Sergey Kandaurov <pluknet@nginx.com>
date: Thu Apr 16 18:18:37 2015 +0300
description:
Core: ensure that ngx_config.h is always included first.

This fixes compilation of various 3rd party modules when nginx is
configured with threads.

diffstat:

src/core/ngx_core.h | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)

diffs (13 lines):

diff -r c1cae8b2270c -r cb790d1b2d16 src/core/ngx_core.h
--- a/src/core/ngx_core.h Thu Apr 16 17:26:19 2015 +0300
+++ b/src/core/ngx_core.h Thu Apr 16 18:18:37 2015 +0300
@@ -9,6 +9,9 @@
#define _NGX_CORE_H_INCLUDED_


+#include <ngx_config.h>
+
+
typedef struct ngx_module_s ngx_module_t;
typedef struct ngx_conf_s ngx_conf_t;
typedef struct ngx_cycle_s ngx_cycle_t;

_______________________________________________
nginx-devel mailing list
nginx-devel@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx-devel
Subject Author Views Posted

[nginx] Core: ensure that ngx_config.h is always included first.

Sergey Kandaurov 461 April 16, 2015 11:26AM



Sorry, you do not have permission to post/reply in this forum.

Online Users

Guests: 151
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready