Blame SOURCES/0005-A-compile-patch-for-s390.patch

9c220d
From 14b0f450b47c8dac895d49f3cda4ebb7a798fbb1 Mon Sep 17 00:00:00 2001
9c220d
From: Boris Ranto <branto@redhat.com>
9c220d
Date: Mon, 24 Apr 2017 16:01:17 -0700
9c220d
Subject: [PATCH] A compile patch for s390
9c220d
9c220d
Signed-off-by: Boris Ranto <branto@redhat.com>
9c220d
---
9c220d
 src/include/encoding.h | 4 ++++
9c220d
 1 file changed, 4 insertions(+)
9c220d
9c220d
diff --git a/src/include/encoding.h b/src/include/encoding.h
9c220d
index 2657c62..0d4a54f 100644
9c220d
--- a/src/include/encoding.h
9c220d
+++ b/src/include/encoding.h
9c220d
@@ -106,6 +106,10 @@ WRITE_INTTYPE_ENCODER(uint32_t, le32)
9c220d
 WRITE_INTTYPE_ENCODER(int32_t, le32)
9c220d
 WRITE_INTTYPE_ENCODER(uint16_t, le16)
9c220d
 WRITE_INTTYPE_ENCODER(int16_t, le16)
9c220d
+#if defined(__s390__) && !defined(__s390x__)
9c220d
+WRITE_INTTYPE_ENCODER(size_t, le32)
9c220d
+#endif
9c220d
+
9c220d
 
9c220d
 #ifdef ENCODE_DUMP
9c220d
 # include <stdio.h>
9c220d
-- 
9c220d
2.9.3
9c220d