# HG changeset patch # User asl # Date 1061237235 0 # Node ID a8252a1c38eaad9b6258f9228cf44b361e8a56b0 # Parent ebabafdc2d94c49236c2b1511156c27b6ab9bd94 * src/strptime.cxx: Added string.h to fix compile warnings. * cdl/time.cdl: Updated the requires statement for BSD string functions to use the interface rather than the option name. diff --git a/packages/language/c/libc/time/current/ChangeLog b/packages/language/c/libc/time/current/ChangeLog --- a/packages/language/c/libc/time/current/ChangeLog +++ b/packages/language/c/libc/time/current/ChangeLog @@ -1,3 +1,9 @@ +2003-08-18 Andrew Lunn + + * src/strptime.cxx: Added string.h to fix compile warnings. + * cdl/time.cdl: Updated the requires statement for BSD string + functions to use the interface rather than the option name. + 2003-06-26 Brij Bihari Pandey 2003-06-26 Jonathan Larmour diff --git a/packages/language/c/libc/time/current/cdl/time.cdl b/packages/language/c/libc/time/current/cdl/time.cdl --- a/packages/language/c/libc/time/current/cdl/time.cdl +++ b/packages/language/c/libc/time/current/cdl/time.cdl @@ -123,7 +123,7 @@ cdl_package CYGPKG_LIBC_TIME { cdl_option CYGFUN_LIBC_TIME_POSIX { display "POSIX time functions" default_value 1 - requires CYGFUN_LIBC_STRING_BSD_FUNCS + requires CYGINT_ISO_STRING_BSD_FUNCS compile strptime.cxx description " Enabling this option allows the use of the diff --git a/packages/language/c/libc/time/current/src/strptime.cxx b/packages/language/c/libc/time/current/src/strptime.cxx --- a/packages/language/c/libc/time/current/src/strptime.cxx +++ b/packages/language/c/libc/time/current/src/strptime.cxx @@ -38,6 +38,7 @@ #include #include #include +#include #include static const char *weekdays[] = {