Provide gettimeofday fallback for clock_gettime.
authorWerner Koch <wk@gnupg.org>
Thu, 10 May 2012 18:28:23 +0000 (20:28 +0200)
committerWerner Koch <wk@gnupg.org>
Thu, 10 May 2012 18:28:55 +0000 (20:28 +0200)
commit4e25a69e9e869ea58fb4f6eeab64bcd74c86174d
tree085cb55c2afaf792e5637c76dcac3d35b93ba0a1
parent363c370bd35dd0bb4e5636b2d4f06ea88c658794
Provide gettimeofday fallback for clock_gettime.

* configure.ac (AC_CHECK_FUNCS): Check for gettimeofday.
* src/npth.c (npth_clock_gettime): Use gettimeofday if clock_gettime
is not available.
--

This should fix the MacOS problem.
configure.ac
src/npth.c