* fhandler_serial.cc: Fix includes for IOCTL codes to support Mingw64.

* fhandler_tape.cc: Ditto.
	* flock.cc (allow_others_to_sync): Use PISECURITY_DESCRIPTOR since
	PSECURITY_DESCRIPTOR is supposed to be the opaque type.
	* ntdll.h: Remove CreateDisposition flags again, now that they are
	defined in Mingw64's ntdef.h.  Ditto for Create/Open flags.
This commit is contained in:
Corinna Vinschen
2012-06-28 19:25:22 +00:00
parent 06e429fd6d
commit ca7f6a04b3
5 changed files with 20 additions and 32 deletions

View File

@ -19,7 +19,12 @@ details. */
#include "sigproc.h"
#include "pinfo.h"
#include <asm/socket.h>
#ifdef __MINGW64_VERSION_MAJOR
#include <devioctl.h>
#include <ntddser.h>
#else
#include <ddk/ntddser.h>
#endif
#include "cygwait.h"
/**********************************************************************/