too many arguments to function 'bson_gettimeofday'

When I'm trying to compile version 1.0.2 I'm getting the following:

src/bson/bson-clock.c:141:3: warning: #warning "Monotonic clock is not yet supported on your platform."
src/bson/bson-clock.c: In function 'bson_get_monotonic_time':
src/bson/bson-clock.c:144: error: too many arguments to function 'bson_gettimeofday'