]> git.ipfire.org Git - thirdparty/zstd.git/commitdiff
missing #include for Windows 3423/head
authorYann Collet <cyan@fb.com>
Fri, 13 Jan 2023 19:38:27 +0000 (11:38 -0800)
committerYann Collet <cyan@fb.com>
Fri, 13 Jan 2023 19:38:27 +0000 (11:38 -0800)
tests/fuzzer.c

index cb46dc45b373715258021d834dcb1965aa673d3b..43fa1158d7d0adb762123582d3aecdf7b2281dfe 100644 (file)
@@ -25,7 +25,8 @@
 #include <stdlib.h>       /* free */
 #include <stdio.h>        /* fgets, sscanf */
 #include <string.h>       /* strcmp */
-#undef NDEBUG
+#include <time.h>         /* time(), time_t */
+#undef NDEBUG             /* always enable assert() */
 #include <assert.h>
 #define ZSTD_STATIC_LINKING_ONLY  /* ZSTD_compressContinue, ZSTD_compressBlock */
 #include "debug.h"        /* DEBUG_STATIC_ASSERT */