From 10a0b19ae5d2a2c1f2d2099619ed1b5996f82782 Mon Sep 17 00:00:00 2001 From: Piotr Sikora Date: Fri, 28 Oct 2016 19:29:38 +0300 Subject: [PATCH] Added missing includes. Previously, most objects were compiled without any features detected by the ./configure script. Signed-off-by: Piotr Sikora --- nginx/ngx_http_js_module.c | 1 + nginx/ngx_stream_js_module.c | 1 + njs/njs_array.c | 1 + njs/njs_boolean.c | 1 + njs/njs_builtin.c | 1 + njs/njs_disassembler.c | 1 + njs/njs_extern.c | 1 + njs/njs_function.c | 1 + njs/njs_generator.c | 1 + njs/njs_lexer.c | 1 + njs/njs_lexer_keyword.c | 1 + njs/njs_math.c | 1 + njs/njs_number.c | 1 + njs/njs_object.c | 1 + njs/njs_parser.c | 1 + njs/njs_variable.c | 1 + njs/njs_vm.c | 1 + njs/njscript.c | 1 + njs/test/njs_unit_test.c | 1 + nxt/nxt_array.c | 1 + nxt/nxt_djb_hash.c | 1 + nxt/nxt_lvlhsh.c | 1 + nxt/nxt_mem_cache_pool.c | 1 + nxt/nxt_murmur_hash.c | 1 + nxt/nxt_pcre.c | 1 + nxt/nxt_queue.c | 1 + nxt/nxt_random.c | 1 + nxt/nxt_rbtree.c | 1 + nxt/nxt_utf8.c | 1 + nxt/test/lvlhsh_unit_test.c | 1 + nxt/test/random_unit_test.c | 1 + nxt/test/rbtree_unit_test.c | 1 + nxt/test/utf8_unit_test.c | 1 + 33 files changed, 33 insertions(+) diff --git a/nginx/ngx_http_js_module.c b/nginx/ngx_http_js_module.c index 994f8623..49f1db9f 100644 --- a/nginx/ngx_http_js_module.c +++ b/nginx/ngx_http_js_module.c @@ -9,6 +9,7 @@ #include #include +#include #include #include #include diff --git a/nginx/ngx_stream_js_module.c b/nginx/ngx_stream_js_module.c index bead4276..bef26cf1 100644 --- a/nginx/ngx_stream_js_module.c +++ b/nginx/ngx_stream_js_module.c @@ -9,6 +9,7 @@ #include #include +#include #include #include #include diff --git a/njs/njs_array.c b/njs/njs_array.c index 83529142..1973f09e 100644 --- a/njs/njs_array.c +++ b/njs/njs_array.c @@ -4,6 +4,7 @@ * Copyright (C) NGINX, Inc. */ +#include #include #include #include diff --git a/njs/njs_boolean.c b/njs/njs_boolean.c index f173364a..77e86249 100644 --- a/njs/njs_boolean.c +++ b/njs/njs_boolean.c @@ -4,6 +4,7 @@ * Copyright (C) NGINX, Inc. */ +#include #include #include #include diff --git a/njs/njs_builtin.c b/njs/njs_builtin.c index 5eef6fa3..6e1bac41 100644 --- a/njs/njs_builtin.c +++ b/njs/njs_builtin.c @@ -4,6 +4,7 @@ * Copyright (C) NGINX, Inc. */ +#include #include #include #include diff --git a/njs/njs_disassembler.c b/njs/njs_disassembler.c index 2b4e0bda..ab2d25fe 100644 --- a/njs/njs_disassembler.c +++ b/njs/njs_disassembler.c @@ -4,6 +4,7 @@ * Copyright (C) NGINX, Inc. */ +#include #include #include #include diff --git a/njs/njs_extern.c b/njs/njs_extern.c index 26169393..17bffccb 100644 --- a/njs/njs_extern.c +++ b/njs/njs_extern.c @@ -4,6 +4,7 @@ * Copyright (C) NGINX, Inc. */ +#include #include #include #include diff --git a/njs/njs_function.c b/njs/njs_function.c index 60304cc9..83ac0800 100644 --- a/njs/njs_function.c +++ b/njs/njs_function.c @@ -4,6 +4,7 @@ * Copyright (C) NGINX, Inc. */ +#include #include #include #include diff --git a/njs/njs_generator.c b/njs/njs_generator.c index dce4601d..5da68750 100644 --- a/njs/njs_generator.c +++ b/njs/njs_generator.c @@ -4,6 +4,7 @@ * Copyright (C) NGINX, Inc. */ +#include #include #include #include diff --git a/njs/njs_lexer.c b/njs/njs_lexer.c index 3abcba35..1d289ecd 100644 --- a/njs/njs_lexer.c +++ b/njs/njs_lexer.c @@ -4,6 +4,7 @@ * Copyright (C) NGINX, Inc. */ +#include #include #include #include diff --git a/njs/njs_lexer_keyword.c b/njs/njs_lexer_keyword.c index 751be90f..2205d66d 100644 --- a/njs/njs_lexer_keyword.c +++ b/njs/njs_lexer_keyword.c @@ -4,6 +4,7 @@ * Copyright (C) NGINX, Inc. */ +#include #include #include #include diff --git a/njs/njs_math.c b/njs/njs_math.c index 36a8bf3a..42fbdb33 100644 --- a/njs/njs_math.c +++ b/njs/njs_math.c @@ -4,6 +4,7 @@ * Copyright (C) NGINX, Inc. */ +#include #include #include #include diff --git a/njs/njs_number.c b/njs/njs_number.c index 5fd3fe24..ee515fcd 100644 --- a/njs/njs_number.c +++ b/njs/njs_number.c @@ -4,6 +4,7 @@ * Copyright (C) NGINX, Inc. */ +#include #include #include #include diff --git a/njs/njs_object.c b/njs/njs_object.c index be0c6d0e..58b74a23 100644 --- a/njs/njs_object.c +++ b/njs/njs_object.c @@ -4,6 +4,7 @@ * Copyright (C) NGINX, Inc. */ +#include #include #include #include diff --git a/njs/njs_parser.c b/njs/njs_parser.c index f500fbd3..c7f39eeb 100644 --- a/njs/njs_parser.c +++ b/njs/njs_parser.c @@ -4,6 +4,7 @@ * Copyright (C) NGINX, Inc. */ +#include #include #include #include diff --git a/njs/njs_variable.c b/njs/njs_variable.c index cd17468b..971d078d 100644 --- a/njs/njs_variable.c +++ b/njs/njs_variable.c @@ -4,6 +4,7 @@ * Copyright (C) NGINX, Inc. */ +#include #include #include #include diff --git a/njs/njs_vm.c b/njs/njs_vm.c index 8244437e..4bc37633 100644 --- a/njs/njs_vm.c +++ b/njs/njs_vm.c @@ -4,6 +4,7 @@ * Copyright (C) NGINX, Inc. */ +#include #include #include #include diff --git a/njs/njscript.c b/njs/njscript.c index a85c3ccf..4c80f5bb 100644 --- a/njs/njscript.c +++ b/njs/njscript.c @@ -4,6 +4,7 @@ * Copyright (C) NGINX, Inc. */ +#include #include #include #include diff --git a/njs/test/njs_unit_test.c b/njs/test/njs_unit_test.c index f87020fb..ae73d240 100644 --- a/njs/test/njs_unit_test.c +++ b/njs/test/njs_unit_test.c @@ -4,6 +4,7 @@ * Copyright (C) NGINX, Inc. */ +#include #include #include #include diff --git a/nxt/nxt_array.c b/nxt/nxt_array.c index f9c3e89c..ea1cd3cc 100644 --- a/nxt/nxt_array.c +++ b/nxt/nxt_array.c @@ -4,6 +4,7 @@ * Copyright (C) NGINX, Inc. */ +#include #include #include #include diff --git a/nxt/nxt_djb_hash.c b/nxt/nxt_djb_hash.c index 25c3f454..05f1b80f 100644 --- a/nxt/nxt_djb_hash.c +++ b/nxt/nxt_djb_hash.c @@ -4,6 +4,7 @@ * Copyright (C) NGINX, Inc. */ +#include #include #include #include diff --git a/nxt/nxt_lvlhsh.c b/nxt/nxt_lvlhsh.c index 35c24b5e..18325b71 100644 --- a/nxt/nxt_lvlhsh.c +++ b/nxt/nxt_lvlhsh.c @@ -4,6 +4,7 @@ * Copyright (C) NGINX, Inc. */ +#include #include #include #include diff --git a/nxt/nxt_mem_cache_pool.c b/nxt/nxt_mem_cache_pool.c index b270b4f5..2dfe725c 100644 --- a/nxt/nxt_mem_cache_pool.c +++ b/nxt/nxt_mem_cache_pool.c @@ -4,6 +4,7 @@ * Copyright (C) NGINX, Inc. */ +#include #include #include #include diff --git a/nxt/nxt_murmur_hash.c b/nxt/nxt_murmur_hash.c index 9f78a151..325e5d7c 100644 --- a/nxt/nxt_murmur_hash.c +++ b/nxt/nxt_murmur_hash.c @@ -4,6 +4,7 @@ * released to the public domain. */ +#include #include #include #include diff --git a/nxt/nxt_pcre.c b/nxt/nxt_pcre.c index 9f13f993..4d9cdc28 100644 --- a/nxt/nxt_pcre.c +++ b/nxt/nxt_pcre.c @@ -4,6 +4,7 @@ * Copyright (C) NGINX, Inc. */ +#include #include #include #include diff --git a/nxt/nxt_queue.c b/nxt/nxt_queue.c index 7c1e2c11..de091eae 100644 --- a/nxt/nxt_queue.c +++ b/nxt/nxt_queue.c @@ -4,6 +4,7 @@ * Copyright (C) NGINX, Inc. */ +#include #include #include #include diff --git a/nxt/nxt_random.c b/nxt/nxt_random.c index 8f8bedf5..20896762 100644 --- a/nxt/nxt_random.c +++ b/nxt/nxt_random.c @@ -5,6 +5,7 @@ */ +#include #include #include #include diff --git a/nxt/nxt_rbtree.c b/nxt/nxt_rbtree.c index aa38f55c..042576e2 100644 --- a/nxt/nxt_rbtree.c +++ b/nxt/nxt_rbtree.c @@ -4,6 +4,7 @@ * Copyright (C) NGINX, Inc. */ +#include #include #include #include diff --git a/nxt/nxt_utf8.c b/nxt/nxt_utf8.c index 90f3c5c4..b959c85e 100644 --- a/nxt/nxt_utf8.c +++ b/nxt/nxt_utf8.c @@ -4,6 +4,7 @@ * Copyright (C) NGINX, Inc. */ +#include #include #include #include diff --git a/nxt/test/lvlhsh_unit_test.c b/nxt/test/lvlhsh_unit_test.c index bf5367c5..40a554b2 100644 --- a/nxt/test/lvlhsh_unit_test.c +++ b/nxt/test/lvlhsh_unit_test.c @@ -4,6 +4,7 @@ * Copyright (C) NGINX, Inc. */ +#include #include #include #include diff --git a/nxt/test/random_unit_test.c b/nxt/test/random_unit_test.c index ef721d13..fce247a2 100644 --- a/nxt/test/random_unit_test.c +++ b/nxt/test/random_unit_test.c @@ -4,6 +4,7 @@ * Copyright (C) NGINX, Inc. */ +#include #include #include #include diff --git a/nxt/test/rbtree_unit_test.c b/nxt/test/rbtree_unit_test.c index 5eeed149..e2766a73 100644 --- a/nxt/test/rbtree_unit_test.c +++ b/nxt/test/rbtree_unit_test.c @@ -4,6 +4,7 @@ * Copyright (C) NGINX, Inc. */ +#include #include #include #include diff --git a/nxt/test/utf8_unit_test.c b/nxt/test/utf8_unit_test.c index dc04e0d5..8797292f 100644 --- a/nxt/test/utf8_unit_test.c +++ b/nxt/test/utf8_unit_test.c @@ -4,6 +4,7 @@ * Copyright (C) NGINX, Inc. */ +#include #include #include #include -- 2.47.3