]> git.lizzy.rs Git - zlib.git/blobdiff - zutil.c
Avoid a conversion error in gzseek when off_t type too small.
[zlib.git] / zutil.c
diff --git a/zutil.c b/zutil.c
index 74e48aab62ebd49fc2a9dcbfed1ad2c9ad4ade2e..a76c6b0c7e557f8c29cfcf58a5ef9ef79c5e4e8a 100644 (file)
--- a/zutil.c
+++ b/zutil.c
@@ -1,5 +1,5 @@
 /* zutil.c -- target dependent utility functions for the compression library
- * Copyright (C) 1995-2005, 2010, 2011, 2012 Jean-loup Gailly.
+ * Copyright (C) 1995-2017 Jean-loup Gailly
  * For conditions of distribution and use, see copyright notice in zlib.h
  */
 
@@ -113,7 +113,7 @@ uLong ZEXPORT zlibCompileFlags()
 }
 
 #ifdef ZLIB_DEBUG
-
+#include <stdlib.h>
 #  ifndef verbose
 #    define verbose 0
 #  endif