TIME instead of defining mktime in config.h.
> * m4/time_h.m4 (gl_HEADER_TIME_H_DEFAULTS): Initialize REPLACE_MKTIME.
> * modules/time (Makefile.am): Substitute REPLACE_MKTIME.
> Reported by Ross McFarland .
> ...
i just manually applied the changes in this patc
when using gnulib's mktime test any cpp file that #includes ctime will
receive the following errors:
In file included from time.cc:6:
/usr/include/c++/4.3/ctime:73: error: ‘::mktime’ has not been declared
time.cc: In function ‘int main()’:
time.cc:11: error: ‘mktime’ was not declared in this scope