https://sourceware.org/git/gitweb.cgi?p=newlib-cygwin.git;h=6e90585ad84a9025258d9616ffe6dc1cb2715a45
commit 6e90585ad84a9025258d9616ffe6dc1cb2715a45 Author: Corinna Vinschen <[email protected]> Date: Wed Mar 11 15:47:19 2015 +0100 Include sys/_timespec.h in cygwin/types.h to adjust to newlib * include/cygwin/types.h: Include <sys/_timespec.h> Signed-off-by: Corinna Vinschen <[email protected]> Diff: --- winsup/cygwin/ChangeLog | 4 ++++ winsup/cygwin/include/cygwin/types.h | 3 ++- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/winsup/cygwin/ChangeLog b/winsup/cygwin/ChangeLog index bcf1bde..d63b359 100644 --- a/winsup/cygwin/ChangeLog +++ b/winsup/cygwin/ChangeLog @@ -1,5 +1,9 @@ 2015-03-11 Corinna Vinschen <[email protected]> + * include/cygwin/types.h: Include <sys/_timespec.h> + +2015-03-11 Corinna Vinschen <[email protected]> + * autoload.cc (CreateEnvironmentBlock): Make loading non-fatal. 2015-03-11 Corinna Vinschen <[email protected]> diff --git a/winsup/cygwin/include/cygwin/types.h b/winsup/cygwin/include/cygwin/types.h index 54c0c5b..b2974c4 100644 --- a/winsup/cygwin/include/cygwin/types.h +++ b/winsup/cygwin/include/cygwin/types.h @@ -1,6 +1,6 @@ /* types.h - Copyright 2001, 2002, 2003, 2005, 2006, 2010, 2011 Red Hat Inc. + Copyright 2001, 2002, 2003, 2005, 2006, 2010, 2011, 2012, 2015 Red Hat Inc. Written by Robert Collins <[email protected]> This file is part of Cygwin. @@ -20,6 +20,7 @@ extern "C" #include <stdint.h> #include <endian.h> #include <bits/wordsize.h> +#include <sys/_timespec.h> #ifndef __timespec_t_defined #define __timespec_t_defined
