浏览代码

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 年之前
父节点
当前提交
d4f4f578c5
共有 1 个文件被更改,包括 1 次插入0 次删除
  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)) {                                                         \