Add missing header, and fix zlib.h header guards

This commit is contained in:
Phillip Stephens 2022-10-12 23:13:55 -07:00
parent 55617d2753
commit 125fef14cf
2 changed files with 16 additions and 3 deletions

View File

@ -0,0 +1,13 @@
#ifndef _CZIPSUPPORT
#define _CZIPSUPPORT
#include "rstl/single_ptr.hpp"
#include <types.h>
class CZipSupport {
public:
static void * Alloc(void* ptr, uint w1, uint w2);
static void Free(void*, void*);
};
#endif // _CZIPSUPPORT

View File

@ -28,8 +28,8 @@
(zlib format), rfc1951.txt (deflate format) and rfc1952.txt (gzip format). (zlib format), rfc1951.txt (deflate format) and rfc1952.txt (gzip format).
*/ */
#ifndef _ZLIB #ifndef _ZLIB_H
#define _ZLIB #define _ZLIB_H
#include "zconf.h" #include "zconf.h"
@ -890,4 +890,4 @@ ZEXTERN const uLongf * ZEXPORT get_crc_table OF((void));
} }
#endif #endif
#endif // _ZLIB #endif /* _ZLIB_H */