From da7c00aac2f5abc8223cf6be143baf7a8ec3960a Mon Sep 17 00:00:00 2001 From: Laurent Bercot Date: Wed, 27 Apr 2016 17:17:28 +0000 Subject: Help Solaris finds its own futimens() in its own ass --- src/sysdeps/tryfutimens.c | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'src/sysdeps') diff --git a/src/sysdeps/tryfutimens.c b/src/sysdeps/tryfutimens.c index 809aaa5..0c4b2af 100644 --- a/src/sysdeps/tryfutimens.c +++ b/src/sysdeps/tryfutimens.c @@ -1,8 +1,10 @@ /* ISC license. */ -#include -#include -#include +#undef _POSIX_C_SOURCE +#undef _XOPEN_SOURCE +#ifndef __EXTENSIONS__ +#define __EXTENSIONS__ +#endif int main (void) { -- cgit v1.2.3