mirror of
https://github.com/nmap/nmap.git
synced 2025-12-10 09:49:05 +00:00
Move include nbase.h (defines HAVE_NETDB_H) above check for HAVE_NETDB_H
This commit is contained in:
@@ -126,12 +126,12 @@
|
|||||||
#ifndef PROTOCOLS_H
|
#ifndef PROTOCOLS_H
|
||||||
#define PROTOCOLS_H
|
#define PROTOCOLS_H
|
||||||
|
|
||||||
|
#include "nbase.h"
|
||||||
|
|
||||||
#if HAVE_NETDB_H
|
#if HAVE_NETDB_H
|
||||||
#include <netdb.h>
|
#include <netdb.h>
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#include "nbase.h"
|
|
||||||
|
|
||||||
#define PROTOCOL_TABLE_SIZE 256
|
#define PROTOCOL_TABLE_SIZE 256
|
||||||
|
|
||||||
struct protocol_list {
|
struct protocol_list {
|
||||||
|
|||||||
Reference in New Issue
Block a user