From 6e90585ad84a9025258d9616ffe6dc1cb2715a45 Mon Sep 17 00:00:00 2001 From: Corinna Vinschen Date: Wed, 11 Mar 2015 15:47:19 +0100 Subject: [PATCH] Include sys/_timespec.h in cygwin/types.h to adjust to newlib * include/cygwin/types.h: Include Signed-off-by: Corinna Vinschen --- 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 bcf1bdeab..d63b359b4 100644 --- a/winsup/cygwin/ChangeLog +++ b/winsup/cygwin/ChangeLog @@ -1,3 +1,7 @@ +2015-03-11 Corinna Vinschen + + * include/cygwin/types.h: Include + 2015-03-11 Corinna Vinschen * autoload.cc (CreateEnvironmentBlock): Make loading non-fatal. diff --git a/winsup/cygwin/include/cygwin/types.h b/winsup/cygwin/include/cygwin/types.h index 54c0c5ba5..b2974c411 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 This file is part of Cygwin. @@ -20,6 +20,7 @@ extern "C" #include #include #include +#include #ifndef __timespec_t_defined #define __timespec_t_defined