aboutsummaryrefslogtreecommitdiff
path: root/winsup/cygwin/tty.cc
diff options
context:
space:
mode:
authorChristopher Faylor <me@cgf.cx>2001-07-26 19:22:24 +0000
committerChristopher Faylor <me@cgf.cx>2001-07-26 19:22:24 +0000
commit6b91b8d53be5b2333c3a8909d48a7a603aae4177 (patch)
tree060507f0ad7dac4b9a88696268df574996feb1dc /winsup/cygwin/tty.cc
parentc784c833aa9313a233a493cdb9e28f69fa7d360d (diff)
downloadnewlib-6b91b8d53be5b2333c3a8909d48a7a603aae4177.zip
newlib-6b91b8d53be5b2333c3a8909d48a7a603aae4177.tar.gz
newlib-6b91b8d53be5b2333c3a8909d48a7a603aae4177.tar.bz2
Throughout, reorganize header file inclusion to put security.h prior to
fhandler.h. * fhandler.h (fhandler_base::get_inheritance): New method. * fhandler_socket.cc (fhandler_socket::create_secret_event): Use proper close-on-exec inheritance when creating. (fhandler_socket::check_peer_secret_event): Create handle as non-inheritable.
Diffstat (limited to 'winsup/cygwin/tty.cc')
-rw-r--r--winsup/cygwin/tty.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/winsup/cygwin/tty.cc b/winsup/cygwin/tty.cc
index 1e4fd36..f04fea2 100644
--- a/winsup/cygwin/tty.cc
+++ b/winsup/cygwin/tty.cc
@@ -16,6 +16,7 @@ details. */
#include <winuser.h>
#include <sys/cygwin.h>
#include "cygerrno.h"
+#include "security.h"
#include "fhandler.h"
#include "dtable.h"
#include "cygheap.h"
@@ -23,7 +24,6 @@ details. */
#include "sigproc.h"
#include "pinfo.h"
#include "shared_info.h"
-#include "security.h"
extern fhandler_tty_master *tty_master;