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

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