aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCorinna Vinschen <corinna@vinschen.de>2013-11-24 13:01:25 +0000
committerCorinna Vinschen <corinna@vinschen.de>2013-11-24 13:01:25 +0000
commitbd1af1cab5cc78a5d97bdd9ba2e9e934fc80688e (patch)
tree7e76e9b152fffe8269f265a94745d3c76df903bb
parentd2a88d97928e1baf89d251706b2cc6bda57a9528 (diff)
downloadnewlib-bd1af1cab5cc78a5d97bdd9ba2e9e934fc80688e.zip
newlib-bd1af1cab5cc78a5d97bdd9ba2e9e934fc80688e.tar.gz
newlib-bd1af1cab5cc78a5d97bdd9ba2e9e934fc80688e.tar.bz2
* dtable.cc: Include sys/param.h for MAX definition.
-rw-r--r--winsup/cygwin/ChangeLog4
-rw-r--r--winsup/cygwin/dtable.cc1
2 files changed, 5 insertions, 0 deletions
diff --git a/winsup/cygwin/ChangeLog b/winsup/cygwin/ChangeLog
index 1533ce7..f109727 100644
--- a/winsup/cygwin/ChangeLog
+++ b/winsup/cygwin/ChangeLog
@@ -1,5 +1,9 @@
2013-11-24 Corinna Vinschen <corinna@vinschen.de>
+ * dtable.cc: Include sys/param.h for MAX definition.
+
+2013-11-24 Corinna Vinschen <corinna@vinschen.de>
+
Throughout, drop unnecessary explicit includes of windows header files
included by default.
* winlean.h: Add long comment to explain why we have to define certain
diff --git a/winsup/cygwin/dtable.cc b/winsup/cygwin/dtable.cc
index c2982a8..824bc84 100644
--- a/winsup/cygwin/dtable.cc
+++ b/winsup/cygwin/dtable.cc
@@ -16,6 +16,7 @@ details. */
#include <stdio.h>
#include <unistd.h>
#include <wchar.h>
+#include <sys/param.h>
#define USE_SYS_TYPES_FD_SET
#include <winsock.h>