From ec6750d42f4c2bb50b51ff455ac2c2eefb927859 Mon Sep 17 00:00:00 2001 From: DL6ER Date: Mon, 10 Jun 2024 20:06:41 +0200 Subject: [PATCH] Make definition of __USE_MISC conditional Signed-off-by: DL6ER --- src/zip/gzip.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/zip/gzip.c b/src/zip/gzip.c index 4ec97c74..a192df5a 100644 --- a/src/zip/gzip.c +++ b/src/zip/gzip.c @@ -16,7 +16,9 @@ #include #include // le32toh and friends +#ifndef __USE_MISC #define __USE_MISC +#endif #include static int mz_uncompress2_raw(unsigned char *pDest, mz_ulong *pDest_len, const unsigned char *pSource, mz_ulong *pSource_len);