From 97e0a785c827577aada4a474d2616af00a7278f4 Mon Sep 17 00:00:00 2001 From: Laurent Bercot Date: Mon, 15 May 2017 20:19:41 +0000 Subject: bugfixes: invalid clockmon detection and futimens detection --- AUTHORS | 1 + configure | 2 +- src/sysdeps/tryfutimens.c | 3 +++ 3 files changed, 5 insertions(+), 1 deletion(-) diff --git a/AUTHORS b/AUTHORS index a94fde4..67b8e53 100644 --- a/AUTHORS +++ b/AUTHORS @@ -5,6 +5,7 @@ Contributors: Dan J. Bernstein William E. Baxter Olivier Brunel + Lionel Van Bemten Thanks to: Jean Marot diff --git a/configure b/configure index 6adc9f6..53d5cd6 100755 --- a/configure +++ b/configure @@ -442,7 +442,7 @@ EOF if $hasclock ; then echo 'clockrt: yes' >> $sysdeps/sysdeps echo "#define ${package_macro_name}_HASCLOCKRT" >> $sysdeps/sysdeps.h - choose cl clockmon CLOCKMON CLOCK_MONOTONIC $clock_lib + choose cl clockmon CLOCKMON CLOCK_MONOTONIC $sysclock_lib else echo 'clockrt: no' >> $sysdeps/sysdeps echo "#undef ${package_macro_name}_HASCLOCKRT" >> $sysdeps/sysdeps.h diff --git a/src/sysdeps/tryfutimens.c b/src/sysdeps/tryfutimens.c index 7ed1635..f111647 100644 --- a/src/sysdeps/tryfutimens.c +++ b/src/sysdeps/tryfutimens.c @@ -5,6 +5,9 @@ #ifndef __EXTENSIONS__ #define __EXTENSIONS__ #endif +#ifndef _GNU_SOURCE +#define _GNU_SOURCE +#endif #include -- cgit v1.2.3