aboutsummaryrefslogtreecommitdiffstats
path: root/testing/vice/fix__u_char.patch
diff options
context:
space:
mode:
Diffstat (limited to 'testing/vice/fix__u_char.patch')
-rw-r--r--testing/vice/fix__u_char.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/testing/vice/fix__u_char.patch b/testing/vice/fix__u_char.patch
new file mode 100644
index 0000000000..046ae82a05
--- /dev/null
+++ b/testing/vice/fix__u_char.patch
@@ -0,0 +1,13 @@
+diff -ru a/src/opencbm.h b/src/opencbm.h
+--- a/src/opencbm.h 2016-11-14 00:23:10.000000000 +0100
++++ b/src/opencbm.h 2017-01-20 19:54:12.098939871 +0100
+@@ -131,6 +131,9 @@
+
+ #endif
+
++/* There is no __u_char on alpine linux */
++#define __u_char unsigned char /*!< __u_char as unsigned char */
++
+ /* specifiers for the IEC bus lines */
+ #define IEC_DATA 0x01 /*!< Specify the DATA line */
+ #define IEC_CLOCK 0x02 /*!< Specify the CLOCK line */