diff mbox series

[02/10] lua_scripthandler: fix right include

Message ID 20231009152747.416164-3-stefano.babic@swupdate.org
State Accepted
Delegated to: Stefano Babic
Headers show
Series Cosmetic and cleaup code | expand

Commit Message

Stefano Babic Oct. 9, 2023, 3:27 p.m. UTC
Handlers depends on images but not on central configuration, fix the
include header.

Signed-off-by: Stefano Babic <stefano.babic@swupdate.org>
---
 handlers/lua_scripthandler.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff mbox series

Patch

diff --git a/handlers/lua_scripthandler.c b/handlers/lua_scripthandler.c
index 016e773e..d4bfed28 100644
--- a/handlers/lua_scripthandler.c
+++ b/handlers/lua_scripthandler.c
@@ -15,7 +15,7 @@ 
 #include <errno.h>
 #include <string.h>
 
-#include "swupdate.h"
+#include "swupdate_image.h"
 #include "handler.h"
 #include "lua.h"
 #include "lauxlib.h"