aboutsummaryrefslogtreecommitdiff
path: root/libpsn00b/lzp
diff options
context:
space:
mode:
authorJohn Wilbert M. Villamor <lameguy64@gmail.com>2019-06-23 07:42:16 +0800
committerJohn Wilbert M. Villamor <lameguy64@gmail.com>2019-06-23 07:42:16 +0800
commit7be9178c0f9b0e698a305ecc5c0c41fcc596a4fc (patch)
treee98c627e1da5c764563774b89b0c06d7ac5ad0a4 /libpsn00b/lzp
parentae9e545c3ed33d39ce21ae13ceb8337fa34901b8 (diff)
downloadpsn00bsdk-7be9178c0f9b0e698a305ecc5c0c41fcc596a4fc.tar.gz
LibPSn00b officially v0.10b, added psxsio library, better DrawSync() and VSync(), better reference manual.
Diffstat (limited to 'libpsn00b/lzp')
-rw-r--r--libpsn00b/lzp/compress.c1
-rw-r--r--libpsn00b/lzp/makefile2
2 files changed, 2 insertions, 1 deletions
diff --git a/libpsn00b/lzp/compress.c b/libpsn00b/lzp/compress.c
index 33af08d..5f2b78c 100644
--- a/libpsn00b/lzp/compress.c
+++ b/libpsn00b/lzp/compress.c
@@ -3,6 +3,7 @@
#include <string.h>
#if LZP_USE_MALLOC == TRUE
#include <stdlib.h>
+#include <malloc.h>
#endif
#include "lzconfig.h"
diff --git a/libpsn00b/lzp/makefile b/libpsn00b/lzp/makefile
index befdc34..4f9974f 100644
--- a/libpsn00b/lzp/makefile
+++ b/libpsn00b/lzp/makefile
@@ -1,6 +1,6 @@
PREFIX = mipsel-unknown-elf-
-TARGET = liblzp.a
+TARGET = ../liblzp.a
CFILES = $(notdir $(wildcard ./*.c))
OFILES = $(addprefix build/,$(CFILES:.c=.o))