aboutsummaryrefslogtreecommitdiffstats
path: root/testing/gutenprint/musl-fix-header.patch
diff options
context:
space:
mode:
Diffstat (limited to 'testing/gutenprint/musl-fix-header.patch')
-rw-r--r--testing/gutenprint/musl-fix-header.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/testing/gutenprint/musl-fix-header.patch b/testing/gutenprint/musl-fix-header.patch
new file mode 100644
index 0000000000..8a74a56ac5
--- /dev/null
+++ b/testing/gutenprint/musl-fix-header.patch
@@ -0,0 +1,12 @@
+diff --git a/src/main/print-olympus.c b/src/main/print-olympus.c
+index 42c4897..b11b020 100644
+--- a/src/main/print-olympus.c
++++ b/src/main/print-olympus.c
+@@ -40,6 +40,7 @@
+ #include <string.h>
+ #include <stdio.h>
+ #include <limits.h>
++#include <endian.h>
+
+ #ifdef __GNUC__
+ #define inline __inline__