aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoshua Watt <JPEW.hacker@gmail.com>2019-07-02 15:05:44 -0500
committerMark Wielaard <mark@klomp.org>2019-07-05 00:13:11 +0200
commit53f3d0d71c3c445bc4ac413d42c4386381e47b49 (patch)
treef90040534114146f9b8678a8d9a2f5e2e5d06669
parent61b434b4ef28b5e3cbf8665d6829b08b405e0899 (diff)
downloadbzip2-53f3d0d71c3c445bc4ac413d42c4386381e47b49.tar.gz
Fix include path separator
Changes the include path separator for Windows builds to use "/" instead of "\". Windows has no problems with using a forward slash as a path separator, but using a backslash causes problems when attempting to cross compile for other platforms (for example, when trying to cross compile for MinGW from Linux).
-rw-r--r--bzip2.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/bzip2.c b/bzip2.c
index e362c65..be3b3be 100644
--- a/bzip2.c
+++ b/bzip2.c
@@ -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 '\\'