aboutsummaryrefslogtreecommitdiff
path: root/programs/benchzstd.c
diff options
context:
space:
mode:
Diffstat (limited to 'programs/benchzstd.c')
-rw-r--r--programs/benchzstd.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/programs/benchzstd.c b/programs/benchzstd.c
index 1e4d717d..fa2659ef 100644
--- a/programs/benchzstd.c
+++ b/programs/benchzstd.c
@@ -31,9 +31,14 @@
#include "timefn.h" /* UTIL_time_t */
#include "benchfn.h"
#include "../lib/common/mem.h"
+#ifndef ZSTD_STATIC_LINKING_ONLY
#define ZSTD_STATIC_LINKING_ONLY
+#endif
#include "../lib/zstd.h"
#include "datagen.h" /* RDG_genBuffer */
+#ifndef XXH_INLINE_ALL
+#define XXH_INLINE_ALL
+#endif
#include "../lib/common/xxhash.h"
#include "benchzstd.h"
#include "../lib/zstd_errors.h"