1
0
mirror of https://github.com/nmap/nmap.git synced 2025-12-06 04:31:29 +00:00
Files
nmap/nse_lua.h
dmiller a0f55317f3 Fix inclusion of Lua headers. See #1355
We will need to do something similar for Ncat.
2018-10-16 05:18:31 +00:00

33 lines
638 B
C

#ifndef NSE_LUA_H
#define NSE_LUA_H
#include "nmap_config.h"
#ifdef __cplusplus
extern "C" {
#endif
#ifdef HAVE_LUA5_3_LUA_H
#include <lua5.3/lua.h>
#include <lua5.3/lauxlib.h>
#include <lua5.3/lualib.h>
#elif defined HAVE_LUA_5_3_LUA_H
#include <lua/5.3/lua.h>
#include <lua/5.3/lauxlib.h>
#include <lua/5.3/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 */