Skip to content

Commit 44884e3

Browse files
kmilosTurboGit
authored andcommitted
Fix compile breakage
Fixes #18755
1 parent 3e4211e commit 44884e3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/lua/lua.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,12 +27,12 @@
2727
#include "common/dtpthread.h"
2828
#include <glib.h>
2929

30-
#ifdef USE_LUA
31-
3230
// while it's poor practice to have includes inside an "extern C" block, we need to
3331
// do this here because the Lua headers don't supply it when compiling under C++....
3432
G_BEGIN_DECLS
3533

34+
#ifdef USE_LUA
35+
3636
#include <lautoc.h>
3737
#include <lauxlib.h>
3838
#include <lua.h>

0 commit comments

Comments
 (0)