-
-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: falkTX <falktx@falktx.com>
- Loading branch information
Showing
5 changed files
with
63 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
diff --git a/util/cairo-script/cairo-script-file.c b/util/cairo-script/cairo-script-file.c | ||
index e7c5376..9ef7ded 100644 | ||
--- a/util/cairo-script/cairo-script-file.c | ||
+++ b/util/cairo-script/cairo-script-file.c | ||
@@ -40,6 +40,7 @@ | ||
#include <limits.h> /* INT_MAX */ | ||
#include <string.h> | ||
#include <zlib.h> | ||
+#undef deflate | ||
|
||
#if HAVE_LZO | ||
#include <lzo/lzo2a.h> | ||
diff --git a/util/cairo-script/cairo-script-operators.c b/util/cairo-script/cairo-script-operators.c | ||
index e493311..3d30e7b 100644 | ||
--- a/util/cairo-script/cairo-script-operators.c | ||
+++ b/util/cairo-script/cairo-script-operators.c | ||
@@ -57,6 +57,7 @@ | ||
|
||
#if HAVE_ZLIB | ||
#include <zlib.h> | ||
+#undef deflate | ||
#endif | ||
|
||
#if HAVE_LZO | ||
diff --git a/util/cairo-script/cairo-script-scanner.c b/util/cairo-script/cairo-script-scanner.c | ||
index 3dfb3a9..fb5e063 100644 | ||
--- a/util/cairo-script/cairo-script-scanner.c | ||
+++ b/util/cairo-script/cairo-script-scanner.c | ||
@@ -44,6 +44,7 @@ | ||
#include <string.h> /* memset */ | ||
#include <assert.h> | ||
#include <zlib.h> | ||
+#undef deflate | ||
|
||
#if HAVE_LZO | ||
#include <lzo/lzo2a.h> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
diff --git a/src/fcstat.c b/src/fcstat.c | ||
index 5aa1643..d1240c5 100644 | ||
--- a/src/fcstat.c | ||
+++ b/src/fcstat.c | ||
@@ -384,7 +384,7 @@ FcFStatFs (int fd, FcStatFS *statb) | ||
# endif | ||
# if defined(HAVE_STRUCT_STATFS_F_FSTYPENAME) | ||
p = buf.f_fstypename; | ||
-# elif defined(__linux__) | ||
+# elif defined(__linux__) || defined(__EMSCRIPTEN__) | ||
switch (buf.f_type) | ||
{ | ||
case 0x6969: /* nfs */ |