summaryrefslogtreecommitdiffstats
path: root/nse_lua.h
blob: 75e61398e66e12bf8b7e3401c68411739e728c52 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
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 */