# HG changeset patch # User jwe # Date 949174454 0 # Node ID c800b7fb7d647256c6094cd81109516b01c6b4a2 # Parent 88eeb67a360e68bea4a4f1a1a70cd744185ae543 [project @ 2000-01-29 19:34:14 by jwe] diff --git a/liboctave/ChangeLog b/liboctave/ChangeLog --- a/liboctave/ChangeLog +++ b/liboctave/ChangeLog @@ -1,3 +1,7 @@ +2000-01-29 John W. Eaton + + * oct-time.cc [! HAVE_STRPTIME]: Provide declaration. + 2000-01-28 John W. Eaton * Array2.h (Array2::get_size): Now protected instead of private. diff --git a/liboctave/oct-time.cc b/liboctave/oct-time.cc --- a/liboctave/oct-time.cc +++ b/liboctave/oct-time.cc @@ -32,6 +32,10 @@ #define __USE_XOPEN #include "oct-time.h" +#if !defined (HAVE_STRPTIME) +extern char *strptime (const char *buf, const char *format, struct tm *tm); +#endif + octave_time::octave_time (const octave_base_tm& tm) { struct tm t;