mirror of
https://github.com/nmap/nmap.git
synced 2026-01-30 01:59:02 +00:00
restore some typedefs that were part of older libpcap headers
This commit is contained in:
@@ -140,6 +140,10 @@
|
||||
|
||||
#include "nbase.h"
|
||||
|
||||
typedef unsigned __int32 u_int32_t;
|
||||
typedef unsigned __int16 u_int16_t;
|
||||
typedef unsigned __int8 u_int8_t;
|
||||
|
||||
#include <pcap.h>
|
||||
#include <packet32.h>
|
||||
|
||||
|
||||
@@ -153,5 +153,8 @@
|
||||
#define HAVE_SSL_SET_TLSEXT_HOST_NAME 1
|
||||
/* Apparently __func__ isn't yet supported */
|
||||
#define __func__ __FUNCTION__
|
||||
typedef unsigned __int32 u_int32_t;
|
||||
typedef unsigned __int16 u_int16_t;
|
||||
typedef unsigned __int8 u_int8_t;
|
||||
|
||||
#endif /* NPING_WINCONFIG_H */
|
||||
|
||||
@@ -131,7 +131,7 @@
|
||||
#define OUTPUT_H
|
||||
|
||||
#ifdef WIN32
|
||||
#include "mswin32\winclude.h"
|
||||
#include <winclude.h>
|
||||
#endif
|
||||
|
||||
#ifdef HAVE_CONFIG_H
|
||||
|
||||
@@ -140,7 +140,7 @@
|
||||
#include "nping.h"
|
||||
|
||||
#ifdef WIN32
|
||||
#include "mswin32\winclude.h"
|
||||
#include <winclude.h>
|
||||
#else
|
||||
#include <sys/types.h>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user