Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'winsup/utils/strace.cc')
-rw-r--r--winsup/utils/strace.cc10
1 files changed, 2 insertions, 8 deletions
diff --git a/winsup/utils/strace.cc b/winsup/utils/strace.cc
index f9d2eb323..f8662582d 100644
--- a/winsup/utils/strace.cc
+++ b/winsup/utils/strace.cc
@@ -11,12 +11,6 @@ This software is a copyrighted work licensed under the terms of the
Cygwin license. Please consult the file "CYGWIN_LICENSE" for
details. */
-#include <windows.h>
-#ifndef __MINGW64_VERSION_MAJOR
-#include "ddk/ntapi.h"
-#else
-#include <winternl.h>
-#endif
#define cygwin_internal cygwin_internal_dontuse
#include <stdio.h>
#include <fcntl.h>
@@ -25,6 +19,7 @@ details. */
#include <string.h>
#include <stdlib.h>
#include <time.h>
+#include <windows.h>
#include <signal.h>
#include <errno.h>
#include "cygwin/include/sys/strace.h"
@@ -33,11 +28,10 @@ details. */
#include "path.h"
#undef cygwin_internal
#include "loadlib.h"
+#include "ddk/ntapi.h"
/* we *know* we're being built with GCC */
-#ifndef alloca
#define alloca __builtin_alloca
-#endif
static const char *pgm;
static int forkdebug = 1;