Nmap Development mailing list archives

<netdb.h> in nsock/src/


From: Gisle Vanem <gvanem () broadpark no>
Date: Tue, 30 Apr 2013 16:16:11 +0200

Some nsock files now includes <netdb.h>.
These should have a guard; "#if HAVE_NETDB_H".
We Windows (MSVC) users doesn't have this header.

So AFAICS these files should be fixed:
nsock\src\nsock_proxy.c
nsock\src\proxy_http.c
nsock\src\proxy_socks4.c

BTW. what about the use of strtok_r()? Missing on MSVC/MingW.

--gv

_______________________________________________
Sent through the dev mailing list
http://nmap.org/mailman/listinfo/dev
Archived at http://seclists.org/nmap-dev/


Current thread: