diff options
author | Romain Forlot <romain.forlot@iot.bzh> | 2017-09-26 12:17:55 +0200 |
---|---|---|
committer | Romain Forlot <romain.forlot@iot.bzh> | 2017-12-14 11:00:25 +0100 |
commit | bbb4351eab7476be9a93f0248860ac0d1574d8a6 (patch) | |
tree | 1c5624454be5fc37828341b20de2f2e79fc90013 /controller/ctl-action.c | |
parent | 1480ff8d68ee4b923596d8178e37eba7b9202a30 (diff) |
Make calling lua2c function from lua works
Change-Id: I56d78a3fe567d1f7a6c675f6a56473f96d325c85
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
Diffstat (limited to 'controller/ctl-action.c')
-rw-r--r-- | controller/ctl-action.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/controller/ctl-action.c b/controller/ctl-action.c index 8955adc..ff618d6 100644 --- a/controller/ctl-action.c +++ b/controller/ctl-action.c @@ -23,7 +23,9 @@ #include <string.h> #include "ctl-config.h" - +#ifdef CONTROL_SUPPORT_LUA +#include "ctl-lua.h" +#endif int ActionExecOne(CtlActionT* action, json_object *queryJ) { int err; |