summaryrefslogtreecommitdiff
path: root/m4/clock_time.m4
diff options
context:
space:
mode:
Diffstat (limited to 'm4/clock_time.m4')
-rw-r--r--m4/clock_time.m42
1 files changed, 1 insertions, 1 deletions
diff --git a/m4/clock_time.m4 b/m4/clock_time.m4
index 6c4a637dc6..8513c6d781 100644
--- a/m4/clock_time.m4
+++ b/m4/clock_time.m4
@@ -26,6 +26,6 @@ AC_DEFUN([gl_CLOCK_TIME],
AC_SEARCH_LIBS([clock_gettime], [rt posix4],
[test "$ac_cv_search_clock_gettime" = "none required" ||
LIB_CLOCK_GETTIME=$ac_cv_search_clock_gettime])
- AC_CHECK_FUNCS([clock_gettime clock_settime])
+ AC_CHECK_FUNCS([clock_getres clock_gettime clock_settime])
LIBS=$gl_saved_libs
])