Explorar o código

Merge pull request #970 from dprandle/master

Fix for failing to build in Debug on Mac Big Sur (v11.2.1) using clang 11.0.0
bel2125 %!s(int64=4) %!d(string=hai) anos
pai
achega
d4f4f578c5
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  1. 1 0
      src/civetweb.c

+ 1 - 0
src/civetweb.c

@@ -248,6 +248,7 @@ static void DEBUG_TRACE_FUNC(const char *func,
 
 #if !defined(DEBUG_ASSERT)
 #if defined(DEBUG)
+#include <stdlib.h>
 #define DEBUG_ASSERT(cond)                                                     \
 	do {                                                                       \
 		if (!(cond)) {                                                         \