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 <corinna@vinschen.de>
This commit is contained in:
Corinna Vinschen 2015-03-11 15:47:19 +01:00
parent b161b155c8
commit 6e90585ad8
No known key found for this signature in database
GPG Key ID: F536069DAE444FA0
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,7 @@
2015-03-11 Corinna Vinschen <corinna@vinschen.de>
* include/cygwin/types.h: Include <sys/_timespec.h>
2015-03-11 Corinna Vinschen <corinna@vinschen.de> 2015-03-11 Corinna Vinschen <corinna@vinschen.de>
* autoload.cc (CreateEnvironmentBlock): Make loading non-fatal. * autoload.cc (CreateEnvironmentBlock): Make loading non-fatal.

View File

@ -1,6 +1,6 @@
/* types.h /* 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 <rbtcollins@hotmail.com> Written by Robert Collins <rbtcollins@hotmail.com>
This file is part of Cygwin. This file is part of Cygwin.
@ -20,6 +20,7 @@ extern "C"
#include <stdint.h> #include <stdint.h>
#include <endian.h> #include <endian.h>
#include <bits/wordsize.h> #include <bits/wordsize.h>
#include <sys/_timespec.h>
#ifndef __timespec_t_defined #ifndef __timespec_t_defined
#define __timespec_t_defined #define __timespec_t_defined