python-zstd/python-zstd-1.4.5.1-c99.patch

13 lines
545 B
Diff

diff -up zstd-1.4.5.1/src/util.c.c99 zstd-1.4.5.1/src/util.c
--- zstd-1.4.5.1/src/util.c.c99 2023-02-01 15:53:06.830812528 +0100
+++ zstd-1.4.5.1/src/util.c 2023-02-01 15:53:18.823927411 +0100
@@ -18,7 +18,7 @@ extern "C" {
******************************************/
#include "util.h" /* note : ensure that platform.h is included first ! */
#include <errno.h>
-#include <assert.h>
+#include <string.h>
#if defined(_MSC_VER) || defined(__MINGW32__) || defined (__MSVCRT__)
#include <direct.h> /* needed for _mkdir in windows */