Browse Source

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 4 năm trước cách đây
mục cha
commit
d4f4f578c5
1 tập tin đã thay đổi với 1 bổ sung0 xóa
  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)) {                                                         \