Nmap Development mailing list archives

[Patch] dnet_winconfig.h


From: Gisle Vanem <gvanem () broadpark no>
Date: Thu, 25 Nov 2010 21:29:53 +0100

Windows doesn't have <sys/socket.h>. So why is 'HAVE_SYS_SOCKET_H'
defined in libdnet-stripped\include\dnet_winconfig.h? AFAICS, this patch
is needed:

--- libdnet-stripped\include\dnet_winconfig.h   Wed Dec 24 13:30:29 2008
+++ libdnet-stripped\include\dnet_winconfig.h        Sat Nov 20 20:03:19 2010
@@ -195,7 +195,7 @@
/* #undef HAVE_SYS_NDD_VAR_H */

/* Define if you have the <sys/socket.h> header file. */
-#define HAVE_SYS_SOCKET_H 1
+/* #define HAVE_SYS_SOCKET_H 1 */

/* Define if you have the <sys/sockio.h> header file. */
/* #undef HAVE_SYS_SOCKIO_H */

How come this is possible on Win32 now?

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


Current thread: