skalibs

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

commit 00e0cad87182eebc8af16172c1dedb10761ffded
parent da7c00aac2f5abc8223cf6be143baf7a8ec3960a
Author: Laurent Bercot <ska-skaware@skarnet.org>
Date:   Wed, 27 Apr 2016 17:32:40 +0000

 Fix tryfutimens.c header inclusion. The test should be good now...

Diffstat:
Msrc/sysdeps/tryfutimens.c | 4++++
1 file changed, 4 insertions(+), 0 deletions(-)

diff --git a/src/sysdeps/tryfutimens.c b/src/sysdeps/tryfutimens.c @@ -6,6 +6,10 @@ #define __EXTENSIONS__ #endif +#include <sys/types.h> +#include <sys/stat.h> +#include <time.h> + int main (void) { struct timespec foo[2] = { { .tv_sec = 0, .tv_nsec = 0 }, { .tv_sec = 0, .tv_nsec = 0 } } ;