summaryrefslogtreecommitdiffstats
path: root/winsup/cygwin/exceptions.cc
diff options
context:
space:
mode:
authorChristopher Faylor <me@cgf.cx>2001-11-15 03:25:52 +0000
committerChristopher Faylor <me@cgf.cx>2001-11-15 03:25:52 +0000
commite2b3dc25804ce3688ac69a7249323e90ae82305e (patch)
tree0588c2572c4379a84a5c356639f8d6d85984753c /winsup/cygwin/exceptions.cc
parentd590035529cb51a0c1981ae9aff69e92d8755d6e (diff)
downloadcygnal-e2b3dc25804ce3688ac69a7249323e90ae82305e.tar.gz
cygnal-e2b3dc25804ce3688ac69a7249323e90ae82305e.tar.bz2
cygnal-e2b3dc25804ce3688ac69a7249323e90ae82305e.zip
* exceptions.cc: Add stdlib.h include for alloca declaration.
* poll.cc: Ditto. * termios.cc: Ditto. * syscalls.cc (_write): Only allow zero length when fd is valid.
Diffstat (limited to 'winsup/cygwin/exceptions.cc')
-rw-r--r--winsup/cygwin/exceptions.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/winsup/cygwin/exceptions.cc b/winsup/cygwin/exceptions.cc
index 560eab43c..41a1319db 100644
--- a/winsup/cygwin/exceptions.cc
+++ b/winsup/cygwin/exceptions.cc
@@ -11,6 +11,7 @@ details. */
#include "winsup.h"
#include <imagehlp.h>
#include <errno.h>
+#include <stdlib.h>
#include "exceptions.h"
#include "sync.h"