diff options
-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> |