mirror of
https://github.com/aaru-dps/Aaru.Compression.Native.git
synced 2025-12-16 11:14:30 +00:00
Fix missing includes.
This commit is contained in:
@@ -20,6 +20,7 @@
|
|||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
|
#include <stdint.h>
|
||||||
#include "../library.h"
|
#include "../library.h"
|
||||||
|
|
||||||
#define FALSE 0
|
#define FALSE 0
|
||||||
|
|||||||
@@ -20,6 +20,7 @@
|
|||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
|
#include <stdint.h>
|
||||||
#include "../library.h"
|
#include "../library.h"
|
||||||
|
|
||||||
#define CRBITS 12 // Max bits for crunching.
|
#define CRBITS 12 // Max bits for crunching.
|
||||||
|
|||||||
@@ -25,7 +25,7 @@
|
|||||||
|
|
||||||
// Decompresses data using non-repeat packing.
|
// Decompresses data using non-repeat packing.
|
||||||
// This algorithm encodes runs of identical bytes.
|
// 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.
|
// Basic validation of pointers.
|
||||||
if(!in_buf || !out_buf || !out_len) { return -1; }
|
if(!in_buf || !out_buf || !out_len) { return -1; }
|
||||||
|
|||||||
Reference in New Issue
Block a user