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:
@@ -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
|
||||||
|
|||||||
@@ -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
|
||||||
|
|||||||
@@ -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" {
|
||||||
|
|||||||
Reference in New Issue
Block a user