aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristopher Faylor <me@cgf.cx>2005-05-19 19:45:28 +0000
committerChristopher Faylor <me@cgf.cx>2005-05-19 19:45:28 +0000
commit776b73dd338c681fb8b6e2de5c6c12271021f309 (patch)
tree041bfe9f12d413b7575bd71b33d730ea9adba045
parent071f64d93433fddcd1cb39bcaa1d08e5a8d97c48 (diff)
downloadnewlib-776b73dd338c681fb8b6e2de5c6c12271021f309.zip
newlib-776b73dd338c681fb8b6e2de5c6c12271021f309.tar.gz
newlib-776b73dd338c681fb8b6e2de5c6c12271021f309.tar.bz2
* include/limits.h: Include features.h, as on linux.
-rw-r--r--winsup/cygwin/ChangeLog4
-rw-r--r--winsup/cygwin/include/limits.h5
2 files changed, 8 insertions, 1 deletions
diff --git a/winsup/cygwin/ChangeLog b/winsup/cygwin/ChangeLog
index 43c7099..b2f21c8 100644
--- a/winsup/cygwin/ChangeLog
+++ b/winsup/cygwin/ChangeLog
@@ -1,5 +1,9 @@
2005-05-19 Christopher Faylor <cgf@timesys.com>
+ * include/limits.h: Include features.h, as on linux.
+
+2005-05-19 Christopher Faylor <cgf@timesys.com>
+
* include/endian.h: New file.
2005-05-19 Corinna Vinschen <corinna@vinschen.de>
diff --git a/winsup/cygwin/include/limits.h b/winsup/cygwin/include/limits.h
index d6237f6..f742976 100644
--- a/winsup/cygwin/include/limits.h
+++ b/winsup/cygwin/include/limits.h
@@ -1,6 +1,6 @@
/* limits.h
- Copyright 1999, 2000, 2001, 2002, 2003, 2004 Red Hat, Inc.
+ Copyright 1999, 2000, 2001, 2002, 2003, 2004, 2005 Red Hat, Inc.
This file is part of Cygwin.
@@ -9,6 +9,9 @@ Cygwin license. Please consult the file "CYGWIN_LICENSE" for
details. */
#ifndef _LIMITS_H___
+
+#include <features.h>
+
#ifndef _MACH_MACHLIMITS_H_
/* _MACH_MACHLIMITS_H_ is used on OSF/1. */