File tree 15 files changed +29
-13
lines changed
15 files changed +29
-13
lines changed Original file line number Diff line number Diff line change 43
43
#ifndef NGX_HTTP_WASM_API_DEF_H
44
44
#define NGX_HTTP_WASM_API_DEF_H
45
45
46
-
46
+ #include <ngx_config.h>
47
47
#include <ngx_core.h>
48
48
49
49
59
59
#define $vm_api_header_name
60
60
61
61
62
+ #include <ngx_config.h>
63
+ #include <ngx_core.h>
62
64
#include <wasm.h>
63
65
$vm_header
64
- #include <ngx_core.h>
65
66
#include "proxy_wasm/proxy_wasm_types.h"
66
67
#include "http/ngx_http_wasm_api_def.h"
67
68
Original file line number Diff line number Diff line change 15
15
*
16
16
*/
17
17
#define _GNU_SOURCE /* for RTLD_DEFAULT */
18
+
19
+ #include <ngx_config.h>
20
+ #include <ngx_core.h>
21
+
22
+
18
23
#include <dlfcn.h>
19
24
#include "vm/vm.h"
20
25
#include "ngx_http_wasm_api.h"
Original file line number Diff line number Diff line change 17
17
#ifndef NGX_HTTP_WASM_API_H
18
18
#define NGX_HTTP_WASM_API_H
19
19
20
-
20
+ #include <ngx_config.h>
21
21
#include <ngx_core.h>
22
22
23
23
Original file line number Diff line number Diff line change 19
19
#ifndef NGX_HTTP_WASM_API_DEF_H
20
20
#define NGX_HTTP_WASM_API_DEF_H
21
21
22
-
22
+ #include <ngx_config.h>
23
23
#include <ngx_core.h>
24
24
25
25
Original file line number Diff line number Diff line change 20
20
#define NGX_HTTP_WASM_API_WASMEDGE_H
21
21
22
22
23
+ #include <ngx_config.h>
24
+ #include <ngx_core.h>
23
25
#include <wasm.h>
24
26
#include <wasmedge/wasmedge.h>
25
- #include <ngx_core.h>
26
27
#include "proxy_wasm/proxy_wasm_types.h"
27
28
#include "http/ngx_http_wasm_api_def.h"
28
29
Original file line number Diff line number Diff line change 20
20
#define NGX_HTTP_WASM_API_WASMTIME_H
21
21
22
22
23
+ #include <ngx_config.h>
24
+ #include <ngx_core.h>
23
25
#include <wasm.h>
24
26
#include <wasmtime.h>
25
- #include <ngx_core.h>
26
27
#include "proxy_wasm/proxy_wasm_types.h"
27
28
#include "http/ngx_http_wasm_api_def.h"
28
29
Original file line number Diff line number Diff line change 17
17
#ifndef NGX_HTTP_WASM_CALL_H
18
18
#define NGX_HTTP_WASM_CALL_H
19
19
20
-
20
+ #include <ngx_config.h>
21
+ #include <ngx_core.h>
21
22
#include <ngx_http.h>
22
23
23
24
Original file line number Diff line number Diff line change 17
17
#ifndef NGX_HTTP_WASM_CTX_H
18
18
#define NGX_HTTP_WASM_CTX_H
19
19
20
-
20
+ #include <ngx_config.h>
21
21
#include <ngx_core.h>
22
22
#include "ngx_http_wasm_state.h"
23
23
#include "proxy_wasm/proxy_wasm_types.h"
Original file line number Diff line number Diff line change 17
17
#ifndef NGX_HTTP_WASM_MODULE_H
18
18
#define NGX_HTTP_WASM_MODULE_H
19
19
20
-
20
+ #include <ngx_config.h>
21
21
#include <ngx_core.h>
22
22
23
23
Original file line number Diff line number Diff line change 17
17
#ifndef NGX_HTTP_WASM_STATE_H
18
18
#define NGX_HTTP_WASM_STATE_H
19
19
20
-
20
+ #include <ngx_config.h>
21
21
#include <ngx_core.h>
22
22
#include <ngx_http.h>
23
23
Original file line number Diff line number Diff line change 16
16
*/
17
17
#ifndef PROXY_WASM_MAP_H
18
18
#define PROXY_WASM_MAP_H
19
- #include <stdbool.h>
19
+
20
+ #include <ngx_config.h>
20
21
#include <ngx_core.h>
22
+ #include <stdbool.h>
21
23
22
24
23
25
typedef enum {
Original file line number Diff line number Diff line change 16
16
*/
17
17
#ifndef PROXY_WASM_MEMORY_H
18
18
#define PROXY_WASM_MEMORY_H
19
+ #include <ngx_config.h>
19
20
#include <ngx_core.h>
20
21
21
22
Original file line number Diff line number Diff line change 17
17
#ifndef PROXY_WASM_TYPES_H
18
18
#define PROXY_WASM_TYPES_H
19
19
20
-
20
+ #include <ngx_config.h>
21
21
#include <ngx_core.h>
22
22
#include <ngx_http_lua_api.h>
23
23
Original file line number Diff line number Diff line change 18
18
#define VM_H
19
19
20
20
21
- #include <stdbool .h>
21
+ #include <ngx_config .h>
22
22
#include <ngx_core.h>
23
+ #include <stdbool.h>
23
24
24
25
25
26
#define NGX_WASM_PARAM_VOID 1
Original file line number Diff line number Diff line change 14
14
* limitations under the License.
15
15
*
16
16
*/
17
+
18
+ #include <ngx_config.h>
19
+ #include <ngx_core.h>
17
20
#include <wasi.h>
18
21
#include <wasm.h>
19
22
#include <wasmtime.h>
You can’t perform that action at this time.
0 commit comments