Nmap Development mailing list archives

Re: Nmap-2.54BETA30 compile fixes


From: Fyodor <fyodor () insecure org>
Date: Sun, 30 Dec 2001 04:29:34 -0800

On Wed, Oct 31, 2001 at 02:09:40PM -0600, William McVey wrote:
I decided to fix the following warnings I got when I compiled nmap-2.54BETA30

    - adds libiberty.h logic to nbase's autoconf and into nbase/snprintf.h

    -   The unistd.h check was commented out of toplevel configure.in for
      some reason. I un-commented it back in and added definitions for
      HAS_UNISTD_H into config.h.in

    - adds  conditional inclusion of <stdlib.h> in nmap_error.h to get 
      exit(3) prototype

    - removes the 'unsigned int i' declaration from output.c:xml_convert()

    - adds .. to nmapfe's header include path so that nmapfe_error.h can
      include config.h, to determine if it should include <stdlib.h>

    -   fixes a typo in utils.h

Thanks!  I have applied all of these except #5.  Adding the Nmap dir
to the NmapFE include path makes me nervous, so I included <nbase.h>
instead in nmapfe_error.h.  That should fix the problem.

Cheers,
Fyodor


---------------------------------------------------------------------
For help using this (nmap-dev) mailing list, send a blank email to 
nmap-dev-help () insecure org . List run by ezmlm-idx (www.ezmlm.org).



Current thread: