Signed-off-by: Jan Engelhardt
---
sign.c | 7 ++++++-
1 files changed, 6 insertions(+), 1 deletions(-)
diff --git a/sign.c b/sign.c
index e372ba4..76649e9 100644
--- a/sign.c
+++ b/sign.c
@@ -33,7 +33,12 @@ int port = MYPORT;
#define RPMSIGTAG_MD5 1004
#define RPMSIGTAG_GPG 1005
-#undef BIG_ENDIAN_HOST
+#include
+#if __BYTE_ORDER == __LITTLE_ENDIAN
+# undef BIG_ENDIAN_HOST
+#else
+# define BIG_ENDIAN_HOST 1
+#endif
/* sha1.c - SHA1 hash function
--
1.7.1
--
To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org
For additional commands, e-mail: opensuse-buildservice+help@opensuse.org