aboutsummaryrefslogtreecommitdiff
path: root/winsup/cygserver
diff options
context:
space:
mode:
authorChristopher Faylor <me@cgf.cx>2002-03-15 21:52:05 +0000
committerChristopher Faylor <me@cgf.cx>2002-03-15 21:52:05 +0000
commit59a2339f27b3cedbdc5886e7525fa822a1f8d505 (patch)
tree0c75d4068353fff3a0d7cccc128654506636afce /winsup/cygserver
parentca175377858b9582040d995c4343e8edbdc524e2 (diff)
downloadnewlib-59a2339f27b3cedbdc5886e7525fa822a1f8d505.zip
newlib-59a2339f27b3cedbdc5886e7525fa822a1f8d505.tar.gz
newlib-59a2339f27b3cedbdc5886e7525fa822a1f8d505.tar.bz2
* cygserver.cc: Include stdlib.h for exit declaration.
* threaded_queue.cc: Ditto.
Diffstat (limited to 'winsup/cygserver')
-rw-r--r--winsup/cygserver/cygserver.cc1
-rw-r--r--winsup/cygserver/threaded_queue.cc1
2 files changed, 2 insertions, 0 deletions
diff --git a/winsup/cygserver/cygserver.cc b/winsup/cygserver/cygserver.cc
index 19f68ea..af9cee9 100644
--- a/winsup/cygserver/cygserver.cc
+++ b/winsup/cygserver/cygserver.cc
@@ -18,6 +18,7 @@
#include <sys/socket.h>
#include <netdb.h>
#include <signal.h>
+#include <stdlib.h>
#include "wincap.h"
#include "cygwin_version.h"
diff --git a/winsup/cygserver/threaded_queue.cc b/winsup/cygserver/threaded_queue.cc
index 5fb22b1..cb8e3f6 100644
--- a/winsup/cygserver/threaded_queue.cc
+++ b/winsup/cygserver/threaded_queue.cc
@@ -15,6 +15,7 @@
#include <unistd.h>
#include <windows.h>
#include <sys/types.h>
+#include <stdlib.h>
#include "wincap.h"
#include "threaded_queue.h"
#define DEBUG 1