blob: b0328cf3b8787d2e78f8d7215787b17fd5eb44d7 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
|
--- src/external/rawspeed/cmake/Modules/CheckZLIB.cmake.orig 2020-04-03 21:02:54 UTC
+++ src/external/rawspeed/cmake/Modules/CheckZLIB.cmake
@@ -40,7 +40,7 @@ endif()
CHECK_PROTOTYPE_DEFINITION(zError
"const char* zError(int zErrorCode)"
"NULL"
- "zlib.h"
+ "stddef.h;zlib.h"
HAVE_ZLIB_ZERROR_PROTOTYPE)
if(NOT HAVE_ZLIB_ZERROR_PROTOTYPE)
message(SEND_ERROR "Found unexpected prototype for zError() in <zlib.h>")
|