-
Notifications
You must be signed in to change notification settings - Fork 104
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #784 from NiLuJe/master
Bump third-party libraries
- Loading branch information
Showing
6 changed files
with
33 additions
and
8 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
diff --git a/glib/gspawn.c b/glib/gspawn.c | ||
index 69d3fec10..c598e02d0 100644 | ||
--- a/glib/gspawn.c | ||
+++ b/glib/gspawn.c | ||
@@ -50,6 +50,13 @@ | ||
#ifdef __linux__ | ||
#include <sys/syscall.h> /* for syscall and SYS_getdents64 */ | ||
#endif | ||
+#ifdef __ANDROID__ | ||
+#include <android/api-level.h> | ||
+#endif | ||
+#if defined(__ANDROID__) && __ANDROID_API__ < 21 && !defined(SYS_getdents64) | ||
+#include <sys/linux-syscalls.h> | ||
+#define SYS_getdents64 __NR_getdents64 | ||
+#endif | ||
|
||
#include "gspawn.h" | ||
#include "gspawn-private.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
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