fix include

This commit is contained in:
Yann Collet
2015-10-29 17:15:14 +01:00
parent 71bcdb5c1f
commit 3d9cf7acf2
2 changed files with 3 additions and 9 deletions
+1 -1
View File
@@ -68,7 +68,7 @@
#include <stdio.h> /* debug : printf */
#include "mem.h" /* low level memory routines */
#include "zstd_static.h"
#include "zstd_Ccommon.h"
#include "zstd_internal.h"
#include "fse_static.h"
#include "huff0.h"
+2 -8
View File
@@ -39,16 +39,10 @@
#include <string.h> /* memset */
#include "zstdhc_static.h"
#include "zstd_static.h"
#include "zstd_Ccommon.h"
#include "zstd_internal.h"
#include "mem.h"
/* *************************************
* Tuning Parameter
***************************************/
static const U32 ZSTD_HC_compressionLevel_default = 9;
/* *************************************
* Local Constants
***************************************/
@@ -451,7 +445,7 @@ size_t ZSTD_HC_compress_advanced (ZSTD_HC_CCtx* ctx,
maxDstSize -= oSize;
/* body (compression) */
ctx->base = src;
ctx->base = (const BYTE*)src;
op += ZSTD_HC_compress_generic (ctx, op, maxDstSize, src, srcSize);
if(ZSTD_isError(oSize)) return oSize;
op += oSize;