1
0
mirror of https://github.com/nmap/nmap.git synced 2025-12-06 12:41:29 +00:00

Fixes for Windows build from Lua header rearrangements

This commit is contained in:
dmiller
2018-11-08 04:55:29 +00:00
parent 8b2f8dbad2
commit 5c83c3d2a5
3 changed files with 9 additions and 0 deletions

View File

@@ -132,4 +132,5 @@
#define HAVE_OPENSSL 1 #define HAVE_OPENSSL 1
#define HAVE_SSL_SET_TLSEXT_HOST_NAME 1 #define HAVE_SSL_SET_TLSEXT_HOST_NAME 1
#define HAVE_HTTP_DIGEST 1 #define HAVE_HTTP_DIGEST 1
#define LUA_INCLUDED 1
#define HAVE_LUA 1 #define HAVE_LUA 1

View File

@@ -130,6 +130,8 @@
#ifndef _NCAT_LUA_H #ifndef _NCAT_LUA_H
#define _NCAT_LUA_H #define _NCAT_LUA_H
#include "ncat_config.h"
#ifdef __cplusplus #ifdef __cplusplus
extern "C" { extern "C" {
#endif #endif

View File

@@ -1,7 +1,13 @@
#ifndef NSE_LUA_H #ifndef NSE_LUA_H
#define NSE_LUA_H #define NSE_LUA_H
#ifdef HAVE_CONFIG_H
#include "nmap_config.h" #include "nmap_config.h"
#else
#ifdef WIN32
#include "nmap_winconfig.h"
#endif /* WIN32 */
#endif /* HAVE_CONFIG_H */
#ifdef __cplusplus #ifdef __cplusplus
extern "C" { extern "C" {