aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/core/lib/iomgr/closure.h
diff options
context:
space:
mode:
authorGravatar Craig Tiller <ctiller@google.com>2017-01-05 13:14:09 -0800
committerGravatar GitHub <noreply@github.com>2017-01-05 13:14:09 -0800
commit3a35f7ecbcef2f762a86a5874ecfc680bb870aaa (patch)
tree3e1c351d70081891ec619477d8f24ef661dd8267 /src/core/lib/iomgr/closure.h
parent1f5fad5ce387dd38ca9c6357233150a8ad765ac5 (diff)
parent4e148d5572e0ba6d83fc4d212637a8337299a2cb (diff)
Merge pull request #8705 from ctiller/slice_with_exec_ctx
Fix slice/exec_ctx interactions
Diffstat (limited to 'src/core/lib/iomgr/closure.h')
-rw-r--r--src/core/lib/iomgr/closure.h6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/core/lib/iomgr/closure.h b/src/core/lib/iomgr/closure.h
index 1b5d9b20a0..ee386fbc76 100644
--- a/src/core/lib/iomgr/closure.h
+++ b/src/core/lib/iomgr/closure.h
@@ -35,6 +35,8 @@
#define GRPC_CORE_LIB_IOMGR_CLOSURE_H
#include <grpc/support/port_platform.h>
+
+#include <grpc/impl/codegen/exec_ctx_fwd.h>
#include <stdbool.h>
#include "src/core/lib/iomgr/error.h"
#include "src/core/lib/support/mpscq.h"
@@ -42,10 +44,6 @@
struct grpc_closure;
typedef struct grpc_closure grpc_closure;
-/* forward declaration for exec_ctx.h */
-struct grpc_exec_ctx;
-typedef struct grpc_exec_ctx grpc_exec_ctx;
-
typedef struct grpc_closure_list {
grpc_closure *head;
grpc_closure *tail;