summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorYaakov Selkowitz <yselkowi@redhat.com>2012-02-13 01:46:46 +0000
committerYaakov Selkowitz <yselkowi@redhat.com>2012-02-13 01:46:46 +0000
commite633eaec087cc723ce6af440ed8b91d44a35cf79 (patch)
treea6b857610eaaec6d1c473fda0d4829f42fe8499b
parente52a43f10116f1481d2b8c5cf7b935749cbd3a4d (diff)
downloadcygnal-e633eaec087cc723ce6af440ed8b91d44a35cf79.tar.gz
cygnal-e633eaec087cc723ce6af440ed8b91d44a35cf79.tar.bz2
cygnal-e633eaec087cc723ce6af440ed8b91d44a35cf79.zip
* include/pthread.h: Include time.h as required by POSIX.
-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