* include/pthread.h: Include time.h as required by POSIX.

This commit is contained in:
Yaakov Selkowitz 2012-02-13 01:46:46 +00:00
parent e52a43f101
commit e633eaec08
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,7 @@
2012-02-12 Yaakov Selkowitz <yselkowitz@users.sourceforg.net>
* include/pthread.h: Include time.h as required by POSIX.
2012-02-12 Christopher Faylor <me.cygwin2012@cgf.cx> 2012-02-12 Christopher Faylor <me.cygwin2012@cgf.cx>
* exception.h (stackdump): Declare. * exception.h (stackdump): Declare.

View File

@ -1,7 +1,7 @@
/* pthread.h: POSIX pthread interface /* pthread.h: POSIX pthread interface
Copyright 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2006, Copyright 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2006,
2007, 2011 Red Hat, Inc. 2007, 2011, 2012 Red Hat, Inc.
Written by Marco Fuykschot <marco@ddi.nl> Written by Marco Fuykschot <marco@ddi.nl>
@ -14,6 +14,7 @@
#include <sys/types.h> #include <sys/types.h>
#include <signal.h> #include <signal.h>
#include <sched.h> #include <sched.h>
#include <time.h>
#ifndef _PTHREAD_H #ifndef _PTHREAD_H
#define _PTHREAD_H #define _PTHREAD_H