]> PatchyGit - patchyircd.git/commitdiff
admin: include lua.hpp
authorEgor <egor@patchysicp.xyz>
Thu, 27 Mar 2025 04:36:21 +0000 (06:36 +0200)
committerEgor <egor@patchysicp.xyz>
Thu, 27 Mar 2025 04:36:21 +0000 (06:36 +0200)
fixes ABI problems on systems using upstream lua

Co-authored-by: Izuru Yakumo <eternal-servant@yakumo.dev>
src/admin.cpp

index fcec636..6ff8bbb 100644 (file)
@@ -3,8 +3,7 @@
 #include "irc.h"
 #include "ircfmt.h"
 #include "passwd.h"
-#include <lauxlib.h>
-#include <lualib.h>
+#include <lua.hpp>
 static lua_State *GL = 0;
 
 #define MAPTYPE_STRINGSET 0