vcpkg/ports/bzip2/fix-windows-include.patch
Todor Prokopov f478be7479
[many ports] Support building with MinGW toolchain (#8940)
* Some package fixes necessary to build with MinGW toolchain

* [libraqm] Fix build error caused by trying to write to source directory

* [tmxparser] Fix build failure when tmx port is intalled before tmxparser port

System include path was added first on compiler command line. This leads to
build failure when there is a tmx.h header file in system include path.

* [qt5-base][angle] Trigger CI rebuild

* [kd-soap] Fix build error

* Update ci.baseline

Co-authored-by: Robert Schumacher <roschuma@microsoft.com>
2020-02-11 17:30:03 -08:00

13 lines
378 B
Diff

diff -urN bzip2-1.0.6-orig/bzip2.c bzip2-1.0.6/bzip2.c
--- bzip2-1.0.6-orig/bzip2.c 2010-09-11 02:04:53.000000000 +0300
+++ bzip2-1.0.6/bzip2.c 2019-11-04 11:40:52.230652175 +0200
@@ -128,7 +128,7 @@
#if BZ_LCCWIN32
# include <io.h>
# include <fcntl.h>
-# include <sys\stat.h>
+# include <sys/stat.h>
# define NORETURN /**/
# define PATH_SEP '\\'