This archive contains answers to questions sent to Unidata support through mid-2025. Note that the archive is no longer being updated. We provide the archive for reference; many of the answers presented here remain technically correct, even if somewhat outdated. For the most up-to-date information on the use of NSF Unidata software and data services, please consult the Software Documentation first.
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