Fix missing includes.

This commit is contained in:
2025-09-02 11:31:26 +01:00
parent 27e2baf54a
commit e97dd11da5
3 changed files with 3 additions and 1 deletions

View File

@@ -20,6 +20,7 @@
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <stdint.h>
#include "../library.h"
#define FALSE 0

View File

@@ -20,6 +20,7 @@
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <stdint.h>
#include "../library.h"
#define CRBITS 12 // Max bits for crunching.

View File

@@ -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; }