1
0
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:
dmiller
2019-05-29 13:25:32 +00:00
parent 274b8f979c
commit 4a39986249
4 changed files with 9 additions and 2 deletions

View File

@@ -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>

View File

@@ -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 */

View File

@@ -131,7 +131,7 @@
#define OUTPUT_H
#ifdef WIN32
#include "mswin32\winclude.h"
#include <winclude.h>
#endif
#ifdef HAVE_CONFIG_H

View File

@@ -140,7 +140,7 @@
#include "nping.h"
#ifdef WIN32
#include "mswin32\winclude.h"
#include <winclude.h>
#else
#include <sys/types.h>