From 169c465a83ef690c2f84ef563c5b56062ee2cb13 Mon Sep 17 00:00:00 2001 From: Christopher Faylor Date: Wed, 12 Jan 2005 22:40:46 +0000 Subject: Reorganize header file inclusion throughout so that cygerrno.h comes first. * fhandler.h (select_record::thread_errno): Save any encountered errno here. (select_record::set_select_errno): New function. (select_record::saw_error): New function. (select_record::select_record): Initialize thread_errno to zero. * select.cc (set_handle_or_return_if_not_open): Set thread_errno on failure. (select_stuff::wait): Record errno for later resurrection in calling thread. (peek_serial): Ditto. --- winsup/cygwin/fhandler_floppy.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'winsup/cygwin/fhandler_floppy.cc') diff --git a/winsup/cygwin/fhandler_floppy.cc b/winsup/cygwin/fhandler_floppy.cc index 3c8870ed4..cbf87c330 100644 --- a/winsup/cygwin/fhandler_floppy.cc +++ b/winsup/cygwin/fhandler_floppy.cc @@ -16,10 +16,10 @@ details. */ #include #include #include +#include "cygerrno.h" #include "security.h" #include "path.h" #include "fhandler.h" -#include "cygerrno.h" /**********************************************************************/ /* fhandler_dev_floppy */ -- cgit v1.2.3