Add missing header, and fix zlib.h header guards

Former-commit-id: 125fef14cf
This commit is contained in:
Phillip Stephens 2022-10-12 23:13:55 -07:00
parent 0613bb5ea4
commit 183e241c45
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 */