Nmap Development mailing list archives
[Patch] libdnet-stripped\include\dnet\os.h
From: Gisle Vanem <gvanem () broadpark no>
Date: Fri, 15 Aug 2008 14:04:18 +0200
This file defines 'ssize_t' twice for non-gcc systems. And since MingW/gcc already has 'ssize_t' in <sys/types.h>, lets just delete one of them: --- SVN-Latest\libdnet-stripped\include\dnet\os.h Sat Jul 26 15:28:07 2008 +++ libdnet-stripped\include\dnet\os.h Sat Jul 26 16:11:51 2008 @@ -22,9 +22,6 @@ typedef u_char uint8_t; typedef u_short uint16_t; typedef u_int uint32_t; -# ifndef __CYGWIN__ - typedef unsigned int ssize_t; -# endif #if !defined(__GNUC__) typedef unsigned int ssize_t; #define snprintf _snprintf @@ -58,7 +55,6 @@ # define DNET_BYTESEX DNET_BIG_ENDIAN #endif #endif --gv _______________________________________________ Sent through the nmap-dev mailing list http://cgi.insecure.org/mailman/listinfo/nmap-dev Archived at http://SecLists.Org
Current thread:
- [Patch] libdnet-stripped\include\dnet\os.h Gisle Vanem (Aug 15)
- Re: dnet\os.h - new libdnet version David Fifield (Aug 29)
- Re: dnet\os.h - new libdnet version Fyodor (Aug 29)
- Re: dnet\os.h - new libdnet version Kris Katterjohn (Aug 29)
- Re: dnet\os.h - new libdnet version Brandon Enright (Aug 29)
- Re: dnet\os.h - new libdnet version David Fifield (Aug 29)
- Re: dnet\os.h - new libdnet version Fyodor (Aug 29)
- Re: dnet\os.h - new libdnet version David Fifield (Aug 29)