server: include <algorithm> in netserver.cpp (GCC)
Patch 0023's attack preview handler calls std::find. MSVC's headers include <algorithm> transitively, GCC's do not, so the Linux build failed on the first compile. No behaviour change. Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01DJUFwdiGCHipsxLkgxssSR
This commit is contained in:
1 parent
ae5f03c620
commit
2e8b60ca33
1 file changed
+1
@@ -6,6 +6,7 @@
|
||||
#include "mysocket.h"
|
||||
#include <thread>
|
||||
#include <unordered_map>
|
||||
#include <algorithm> // [YGOL] std::find (attack preview); MSVC includes it transitively, GCC does not
|
||||
#include <event2/event.h>
|
||||
#include <event2/listener.h>
|
||||
#include <event2/bufferevent.h>
|
||||
|
||||
Reference in new issue
Block a user