diff options
author | Laurent Bercot <ska-skaware@skarnet.org> | 2017-05-15 20:19:41 +0000 |
---|---|---|
committer | Laurent Bercot <ska-skaware@skarnet.org> | 2017-05-15 20:19:41 +0000 |
commit | 97e0a785c827577aada4a474d2616af00a7278f4 (patch) | |
tree | 2e885f6f7fda772dd6ea0bebed709d215b63a9d4 | |
parent | 13a62c4ac5feb8d3bc68346eb987bd04d05e3457 (diff) | |
download | skalibs-97e0a785c827577aada4a474d2616af00a7278f4.tar.xz |
bugfixes: invalid clockmon detection and futimens detection
-rw-r--r-- | AUTHORS | 1 | ||||
-rwxr-xr-x | configure | 2 | ||||
-rw-r--r-- | src/sysdeps/tryfutimens.c | 3 |
3 files changed, 5 insertions, 1 deletions
@@ -5,6 +5,7 @@ Contributors: Dan J. Bernstein <djb@cr.yp.to> William E. Baxter <web@superscript.com> Olivier Brunel <jjk@jjacky.com> + Lionel Van Bemten <lionel.van_bemten@nokia.com> Thanks to: Jean Marot <jean.marot@skarnet.org> @@ -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 <sys/stat.h> |