1
0
mirror of https://github.com/nmap/nmap.git synced 2025-12-26 01:19:03 +00:00

Strip or relocate more includes from nmap.h

This commit is contained in:
dmiller
2015-07-01 21:25:39 +00:00
parent 982e08749f
commit ea4096c681
8 changed files with 18 additions and 65 deletions

View File

@@ -133,6 +133,7 @@
#include "libnetutil/netutil.h"
#include <sstream>
#include <errno.h>
#define BITVECTOR_BITS (sizeof(bitvector_t) * CHAR_BIT)
#define BIT_SET(v, n) ((v)[(n) / BITVECTOR_BITS] |= 1UL << ((n) % BITVECTOR_BITS))