diff --git a/winsup/utils/mingw/Makefile.am b/winsup/utils/mingw/Makefile.am index 73abc4264..874dce512 100644 --- a/winsup/utils/mingw/Makefile.am +++ b/winsup/utils/mingw/Makefile.am @@ -39,7 +39,7 @@ ldh_SOURCES = ldh.cc strace_SOURCES = \ path.cc \ strace.cc -strace_CPPFLAGS=-I$(srcdir)/.. +strace_CPPFLAGS=-I$(srcdir)/.. -idirafter ${top_srcdir}/cygwin -idirafter ${top_srcdir}/cygwin/include strace_LDADD = -lntdll noinst_PROGRAMS = path-testsuite diff --git a/winsup/utils/mingw/strace.cc b/winsup/utils/mingw/strace.cc index a7797600c..d8a095fb6 100644 --- a/winsup/utils/mingw/strace.cc +++ b/winsup/utils/mingw/strace.cc @@ -21,11 +21,11 @@ details. */ #include #include #include -#include "../../cygwin/include/sys/strace.h" -#include "../../cygwin/include/sys/cygwin.h" -#include "../../cygwin/include/cygwin/version.h" -#include "../../cygwin/cygtls_padsize.h" -#include "../../cygwin/gcc_seh.h" +#include "sys/strace.h" +#include "sys/cygwin.h" +#include "cygwin/version.h" +#include "cygtls_padsize.h" +#include "gcc_seh.h" #include "path.h" #undef cygwin_internal #include "loadlib.h"