valgrind/valgrind-3.15.0-gcc-10-typedef-enum.patch
Mark Wielaard 51b48af1cb 3.15.0-13 Add valgrind-3.15.0-gcc-10-typedef-enum.patch
Resolves: #1794482
guest_s390_defs.h:291: multiple definition of `s390x_vec_op_t'
2020-01-23 21:41:55 +01:00

14 lines
497 B
Diff

diff --git a/VEX/priv/guest_s390_defs.h b/VEX/priv/guest_s390_defs.h
index b9f038aaa..9f93cff19 100644
--- a/VEX/priv/guest_s390_defs.h
+++ b/VEX/priv/guest_s390_defs.h
@@ -261,7 +261,7 @@ extern ULong last_execute_target;
/* Vector operatons passed to s390x_dirtyhelper_vec_op(...) helper.
Please don't change ordering of elements and append new items
before S390_VEC_OP_LAST. */
-enum {
+typedef enum {
S390_VEC_OP_INVALID = 0,
S390_VEC_OP_VPKS = 1,
S390_VEC_OP_VPKLS = 2,