From e97dd11da56200294b51709eb45cdc634f0634df Mon Sep 17 00:00:00 2001 From: Natalia Portillo Date: Tue, 2 Sep 2025 11:31:26 +0100 Subject: [PATCH] Fix missing includes. --- arc/crunch.c | 1 + arc/lzw.c | 1 + arc/pack.c | 2 +- 3 files changed, 3 insertions(+), 1 deletion(-) diff --git a/arc/crunch.c b/arc/crunch.c index 3f1128b..400c9c2 100644 --- a/arc/crunch.c +++ b/arc/crunch.c @@ -20,6 +20,7 @@ #include #include #include +#include #include "../library.h" #define FALSE 0 diff --git a/arc/lzw.c b/arc/lzw.c index 05417d3..706fb97 100644 --- a/arc/lzw.c +++ b/arc/lzw.c @@ -20,6 +20,7 @@ #include #include #include +#include #include "../library.h" #define CRBITS 12 // Max bits for crunching. diff --git a/arc/pack.c b/arc/pack.c index 020f3a9..670c37d 100644 --- a/arc/pack.c +++ b/arc/pack.c @@ -25,7 +25,7 @@ // Decompresses data using non-repeat packing. // This algorithm encodes runs of identical bytes. -int arc_decompress_pack(const unsigned char *in_buf, size_t in_len, unsigned char *out_buf, size_t *out_len) +AARU_EXPORT int AARU_CALL arc_decompress_pack(const unsigned char *in_buf, size_t in_len, unsigned char *out_buf, size_t *out_len) { // Basic validation of pointers. if(!in_buf || !out_buf || !out_len) { return -1; }