This was fixed in glib2.0:
2006-08-27 Matthias Clasen <email address hidden>
* configure.in: Fix the pthread compiler flag detection more.
* configure.in: Check for clock_gettime. * glib/gtimer.c: Use Posix monotonic clocks instead of gettimeofday when available. (#336114, William Jon McCann)
This was fixed in glib2.0:
2006-08-27 Matthias Clasen <email address hidden>
* configure.in: Fix the pthread compiler flag detection more.
* configure.in: Check for clock_gettime.
gettimeofday when available. (#336114, William Jon McCann)
* glib/gtimer.c: Use Posix monotonic clocks instead of