diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-17 07:42:04 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-17 07:42:04 +0000 |
commit | 0d47952611198ef6b1163f366dc03922d20b1475 (patch) | |
tree | 3d840a3b8c0daef0754707bfb9f5e873b6b1ac13 /nse_lua.h | |
parent | Initial commit. (diff) | |
download | nmap-upstream.tar.xz nmap-upstream.zip |
Adding upstream version 7.94+git20230807.3be01efb1+dfsg.upstream/7.94+git20230807.3be01efb1+dfsgupstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to '')
-rw-r--r-- | nse_lua.h | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/nse_lua.h b/nse_lua.h new file mode 100644 index 0000000..75e6139 --- /dev/null +++ b/nse_lua.h @@ -0,0 +1,38 @@ +#ifndef NSE_LUA_H +#define NSE_LUA_H + +#ifdef HAVE_CONFIG_H +#include "nmap_config.h" +#else +#ifdef WIN32 +#include "nmap_winconfig.h" +#endif /* WIN32 */ +#endif /* HAVE_CONFIG_H */ + +#ifdef __cplusplus +extern "C" { +#endif + +#ifdef HAVE_LUA5_4_LUA_H + #include <lua5.4/lua.h> + #include <lua5.4/lauxlib.h> + #include <lua5.4/lualib.h> +#elif defined HAVE_LUA_5_4_LUA_H + #include <lua/5.4/lua.h> + #include <lua/5.4/lauxlib.h> + #include <lua/5.4/lualib.h> +#elif defined HAVE_LUA_H || defined LUA_INCLUDED + #include <lua.h> + #include <lauxlib.h> + #include <lualib.h> +#elif defined HAVE_LUA_LUA_H + #include <lua/lua.h> + #include <lua/lauxlib.h> + #include <lua/lualib.h> +#endif + +#ifdef __cplusplus +} /* End of 'extern "C"' */ +#endif + +#endif /* NSE_LUA_H */ |