skalibs

Mirror/fork of https://skarnet.org/software/skalibs/
git clone https://ccx.te2000.cz/git/skalibs
Log | Files | Refs | README | LICENSE

commit 97e0a785c827577aada4a474d2616af00a7278f4
parent 13a62c4ac5feb8d3bc68346eb987bd04d05e3457
Author: Laurent Bercot <ska-skaware@skarnet.org>
Date:   Mon, 15 May 2017 20:19:41 +0000

 bugfixes: invalid clockmon detection and futimens detection

Diffstat:
MAUTHORS | 1+
Mconfigure | 2+-
Msrc/sysdeps/tryfutimens.c | 3+++
3 files changed, 5 insertions(+), 1 deletion(-)

diff --git a/AUTHORS b/AUTHORS @@ -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> diff --git 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 @@ -5,6 +5,9 @@ #ifndef __EXTENSIONS__ #define __EXTENSIONS__ #endif +#ifndef _GNU_SOURCE +#define _GNU_SOURCE +#endif #include <sys/stat.h>