On Wed, Aug 21 2013, Vladimir.Marek@oracle.com wrote: > From: Blake Jones <blakej@foo.net> > > The timegm(3) function is a non-standard extension to libc which is > available in GNU libc and on some BSDs. Although SunOS had this > function in its libc, Solaris (unfortunately) removed it. This patch > implements a very simple version of timegm() which is good enough for > parse-time-string.c. > > Signed-off-by: Vladimir Marek <vlmarek@volny.cz> > --- Thanks, LGTM. > compat/Makefile.local | 4 +++ > compat/compat.h | 5 +++ > compat/have_timegm.c | 7 +++++ > compat/timegm.c | 56 +++++++++++++++++++++++++++++++++ > configure | 11 +++++++ > parse-time-string/parse-time-string.c | 1 + > 6 files changed, 84 insertions(+) > create mode 100644 compat/have_timegm.c > create mode 100644 compat/timegm.c >