[PATCH] Style: add missing includes and include guards

Piotr Sikora piotrsikora at google.com
Mon Feb 22 22:07:10 UTC 2016


Hey,

> diff -r cfc3cfa434ec -r 863f4a52ae07 src/core/nginx.h
> --- a/src/core/nginx.h
> +++ b/src/core/nginx.h
> @@ -9,6 +9,10 @@
>  #define _NGINX_H_INCLUDED_
>
>
> +#include <ngx_config.h>
> +#include <ngx_core.h>
> +
> +
>  #define nginx_version      1009012
>  #define NGINX_VERSION      "1.9.12"
>  #define NGINX_VER          "nginx/" NGINX_VERSION

nginx.h doesn't need to include <ngx_core.h>, updated patch sent.

Best regards,
Piotr Sikora



More information about the nginx-devel mailing list