mirror of
https://github.com/leejet/stable-diffusion.cpp.git
synced 2026-11-29 03:26:12 +00:00
recovery.cpp included recovery.h first, which reaches <windows.h> through common/log.h. windows.h pulls in winsock.h, and the winsock2.h included by httplib.h then redefines its declarations, so both Windows builds stopped with hundreds of errors in the Windows SDK headers. Include httplib.h first, as the other server sources do, and include <exception> in recovery.h for the type it uses. Claude-Session: https://claude.ai/code/session_01EhZzDBkuuMp1jBf4WtEySC |
||
|---|---|---|
| .. | ||
| cli | ||
| common | ||
| server | ||
| CMakeLists.txt | ||