Skip to content

Commit 02c35c2

Browse files
committed
Fix missing lizard_decompress.h after make install.
1 parent dda3b33 commit 02c35c2

File tree

3 files changed

+10
-8
lines changed

3 files changed

+10
-8
lines changed

lib/Makefile

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -143,6 +143,7 @@ endif
143143
@ln -sf liblizard.$(SHARED_EXT_VER) $(DESTDIR)$(LIBDIR)/liblizard.$(SHARED_EXT)
144144
@echo Installing includes
145145
@$(INSTALL_DATA) lizard_compress.h $(DESTDIR)$(INCLUDEDIR)/lizard_compress.h
146+
@$(INSTALL_DATA) lizard_decompress.h $(DESTDIR)$(INCLUDEDIR)/lizard_decompress.h
146147
@$(INSTALL_DATA) lizard_common.h $(DESTDIR)$(INCLUDEDIR)/lizard_common.h
147148
@$(INSTALL_DATA) lizard_frame.h $(DESTDIR)$(INCLUDEDIR)/lizard_frame.h
148149
@echo lizard static and shared libraries installed
@@ -154,6 +155,7 @@ uninstall:
154155
@$(RM) $(DESTDIR)$(LIBDIR)/liblizard.$(SHARED_EXT_VER)
155156
@$(RM) $(DESTDIR)$(LIBDIR)/liblizard.a
156157
@$(RM) $(DESTDIR)$(INCLUDEDIR)/lizard_compress.h
158+
@$(RM) $(DESTDIR)$(INCLUDEDIR)/lizard_decompress.h
157159
@$(RM) $(DESTDIR)$(INCLUDEDIR)/lizard_common.h
158160
@$(RM) $(DESTDIR)$(INCLUDEDIR)/lizard_frame.h
159161
@echo lizard libraries successfully uninstalled

lib/lizard_common.h

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -192,6 +192,13 @@ struct Lizard_stream_s
192192
const BYTE* destBase;
193193
};
194194

195+
struct Lizard_streamDecode_s {
196+
const BYTE* externalDict;
197+
size_t extDictSize;
198+
const BYTE* prefixEnd;
199+
size_t prefixSize;
200+
};
201+
195202
struct Lizard_dstream_s
196203
{
197204
const BYTE* offset16Ptr;

lib/lizard_decompress.h

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -39,8 +39,6 @@
3939
extern "C" {
4040
#endif
4141

42-
#include "entropy/mem.h" /* U32 */
43-
4442

4543
/*^***************************************************************
4644
* Export parameters
@@ -95,12 +93,7 @@ LIZARDDLIB_API int Lizard_decompress_safe_partial (const char* source, char* des
9593
/*-**********************************************
9694
* Streaming Decompression Functions
9795
************************************************/
98-
typedef struct {
99-
const BYTE* externalDict;
100-
size_t extDictSize;
101-
const BYTE* prefixEnd;
102-
size_t prefixSize;
103-
} Lizard_streamDecode_t;
96+
typedef struct Lizard_streamDecode_s Lizard_streamDecode_t;
10497

10598
/*
10699
* Lizard_streamDecode_t

0 commit comments

Comments
 (0)