aboutsummaryrefslogtreecommitdiffstats
path: root/testing/lightdm/musl-is-linux.patch
diff options
context:
space:
mode:
Diffstat (limited to 'testing/lightdm/musl-is-linux.patch')
-rw-r--r--testing/lightdm/musl-is-linux.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/testing/lightdm/musl-is-linux.patch b/testing/lightdm/musl-is-linux.patch
new file mode 100644
index 0000000000..d0a627c63c
--- /dev/null
+++ b/testing/lightdm/musl-is-linux.patch
@@ -0,0 +1,11 @@
+--- ./tests/src/libsystem.c.orig
++++ ./tests/src/libsystem.c
+@@ -205,7 +205,7 @@
+ return g_strdup (path);
+ }
+
+-#ifdef __linux__
++#ifdef __GLIBC__
+ static int
+ open_wrapper (const char *func, const char *pathname, int flags, mode_t mode)
+ {