Skip to content

Commit d65908e

Browse files
authored
Add missing includes. (#173)
Signed-off-by: Piotr Sikora <[email protected]>
1 parent 605ee8a commit d65908e

File tree

5 files changed

+12
-30
lines changed

5 files changed

+12
-30
lines changed

bazel/external/proxy-wasm-cpp-sdk.BUILD

Lines changed: 0 additions & 18 deletions
This file was deleted.

bazel/repositories.bzl

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,9 +17,9 @@ load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
1717
def proxy_wasm_cpp_host_repositories():
1818
http_archive(
1919
name = "proxy_wasm_cpp_sdk",
20-
sha256 = "b97e3e716b1f38dc601487aa0bde72490bbc82b8f3ad73f1f3e69733984955df",
21-
strip_prefix = "proxy-wasm-cpp-sdk-956f0d500c380cc1656a2d861b7ee12c2515a664",
22-
urls = ["https://github.com/proxy-wasm/proxy-wasm-cpp-sdk/archive/956f0d500c380cc1656a2d861b7ee12c2515a664.tar.gz"],
20+
sha256 = "489768fb95ede507543ee5982610b541a2c5b57216695a9e5c2eb8c83c9d20a3",
21+
strip_prefix = "proxy-wasm-cpp-sdk-9af5ac0145a8790f62ca501c43f6fa1ea24d2d93",
22+
urls = ["https://github.com/proxy-wasm/proxy-wasm-cpp-sdk/archive/9af5ac0145a8790f62ca501c43f6fa1ea24d2d93.tar.gz"],
2323
)
2424

2525
http_archive(

include/proxy-wasm/exports.h

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,9 @@
1717

1818
#include <memory>
1919

20-
#include "include/proxy-wasm/word.h"
20+
#include "include/proxy-wasm/context.h"
2121
#include "include/proxy-wasm/wasm_vm.h"
22+
#include "include/proxy-wasm/word.h"
2223

2324
namespace proxy_wasm {
2425

include/proxy-wasm/null_plugin.h

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -17,16 +17,9 @@
1717

1818
#include <memory>
1919

20+
#include "include/proxy-wasm/exports.h"
2021
#include "include/proxy-wasm/null_vm_plugin.h"
2122
#include "include/proxy-wasm/wasm.h"
22-
#include "include/proxy-wasm/exports.h"
23-
24-
namespace proxy_wasm {
25-
namespace null_plugin {
26-
#include "proxy_wasm_enums.h"
27-
} // namespace null_plugin
28-
} // namespace proxy_wasm
29-
3023
#include "include/proxy-wasm/wasm_api_impl.h"
3124

3225
namespace proxy_wasm {

include/proxy-wasm/wasm_api_impl.h

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,9 +26,15 @@
2626
#include <utility>
2727
#include <vector>
2828

29+
#include "include/proxy-wasm/exports.h"
30+
#include "include/proxy-wasm/word.h"
31+
2932
namespace proxy_wasm {
3033
namespace null_plugin {
3134

35+
#include "proxy_wasm_enums.h"
36+
#include "proxy_wasm_common.h"
37+
3238
#define WS(_x) Word(static_cast<uint64_t>(_x))
3339
#define WR(_x) Word(reinterpret_cast<uint64_t>(_x))
3440

0 commit comments

Comments
 (0)