aboutsummaryrefslogtreecommitdiffstats
path: root/contrib/zstd/pool.h
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/zstd/pool.h')
-rw-r--r--contrib/zstd/pool.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/contrib/zstd/pool.h b/contrib/zstd/pool.h
index 259bafc97..7dcaf010d 100644
--- a/contrib/zstd/pool.h
+++ b/contrib/zstd/pool.h
@@ -17,8 +17,11 @@ extern "C" {
#include <stddef.h> /* size_t */
+
+#ifndef ZSTD_STATIC_LINKING_ONLY
#define ZSTD_STATIC_LINKING_ONLY /* ZSTD_customMem */
-#include "../zstd.h"
+#endif
+#include "zstd.h"
typedef struct POOL_ctx_s POOL_ctx;