[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[UDUNITS #CGD-229014]: udunits-1.12.9 compilation: minor patch



Harald,

> the attached patch adds a missing #include to allow for a cleaner
> compile.

You're quite right.  Thanks for sending this in.

> Regards,
> Harald
> 
> --- udunits-1.12.9/src/udunits/udunits.c.orig 2008-07-22 18:47:25.000000000 
> +0200
> +++ udunits-1.12.9/src/udunits/udunits.c      2009-01-05 17:13:07.000000000 
> +0100
> @@ -13,6 +13,7 @@
> #include <string.h>   /* for strlen() & memmove() */
> #include <errno.h>    /* for errno */
> #include <ctype.h>    /* for isspace() */
> +#include <stdlib.h>  /* for atoi() & exit() */
> #include "udunits.h"
> 
> #ifdef YYDEBUG

Regards,
Steve Emmerson

Ticket Details
===================
Ticket ID: CGD-229014
Department: Support UDUNITS
Priority: Normal
Status: Closed


NOTE: All email exchanges with Unidata User Support are recorded in the Unidata inquiry tracking system and then made publicly available through the web. If you do not want to have your interactions made available in this way, you must let us know in each email you send to us.