summaryrefslogtreecommitdiffstats
path: root/winsup/cygwin/poll.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/poll.cc
parentc784c833aa9313a233a493cdb9e28f69fa7d360d (diff)
downloadcygnal-6b91b8d53be5b2333c3a8909d48a7a603aae4177.tar.gz
cygnal-6b91b8d53be5b2333c3a8909d48a7a603aae4177.tar.bz2
cygnal-6b91b8d53be5b2333c3a8909d48a7a603aae4177.zip
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/poll.cc')
-rw-r--r--winsup/cygwin/poll.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/winsup/cygwin/poll.cc b/winsup/cygwin/poll.cc
index 4a216ad63..eed46236c 100644
--- a/winsup/cygwin/poll.cc
+++ b/winsup/cygwin/poll.cc
@@ -12,6 +12,7 @@
#include <sys/time.h>
#include <sys/poll.h>
#include <errno.h>
+#include "security.h"
#include "fhandler.h"
#include "dtable.h"
#include "cygheap.h"