aboutsummaryrefslogtreecommitdiffstats
path: root/community/weston/missing-fnctl_h.patch
diff options
context:
space:
mode:
Diffstat (limited to 'community/weston/missing-fnctl_h.patch')
-rw-r--r--community/weston/missing-fnctl_h.patch15
1 files changed, 15 insertions, 0 deletions
diff --git a/community/weston/missing-fnctl_h.patch b/community/weston/missing-fnctl_h.patch
new file mode 100644
index 0000000000..bb6a7b253b
--- /dev/null
+++ b/community/weston/missing-fnctl_h.patch
@@ -0,0 +1,15 @@
+Upstream: Yes
+Reason: Fixes compilation on musl
+
+diff --git a/tests/weston-test-fixture-compositor.c b/tests/weston-test-fixture-compositor.c
+index 0c9855f..e0e32c9 100644
+--- a/tests/weston-test-fixture-compositor.c
++++ b/tests/weston-test-fixture-compositor.c
+@@ -31,6 +31,7 @@
+ #include <unistd.h>
+ #include <sys/file.h>
+ #include <errno.h>
++#include <fcntl.h>
+
+ #include "shared/helpers.h"
+ #include "weston-test-fixture-compositor.h"