summaryrefslogtreecommitdiffstats
path: root/winsup
diff options
context:
space:
mode:
Diffstat (limited to 'winsup')
-rw-r--r--winsup/cygwin/ChangeLog4
-rw-r--r--winsup/cygwin/include/pthread.h3
2 files changed, 6 insertions, 1 deletions
diff --git a/winsup/cygwin/ChangeLog b/winsup/cygwin/ChangeLog
index f82ad8cc7..15f89532f 100644
--- a/winsup/cygwin/ChangeLog
+++ b/winsup/cygwin/ChangeLog
@@ -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>
* exception.h (stackdump): Declare.
diff --git a/winsup/cygwin/include/pthread.h b/winsup/cygwin/include/pthread.h
index f56de0017..9e21459fd 100644
--- a/winsup/cygwin/include/pthread.h
+++ b/winsup/cygwin/include/pthread.h
@@ -1,7 +1,7 @@
/* pthread.h: POSIX pthread interface
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>
@@ -14,6 +14,7 @@
#include <sys/types.h>
#include <signal.h>
#include <sched.h>
+#include <time.h>
#ifndef _PTHREAD_H
#define _PTHREAD_H