mirror of
https://github.com/MaSzyna-EU07/maszyna.git
synced 2026-10-18 06:49:18 +02:00
include the platform header where Win32 types are used
windows.cpp and piped_proc.cpp reached windows.h through an imported module's global module fragment, which does not cross the boundary. LPT.cpp and zmq_input.cpp never had it at all - the first was in an MSBuild batch that aborted before reaching it, the second is behind WITH_ZMQ and has not been compiled by either CI job. The earlier sweep only looked inside #ifdef _WIN32 blocks, but these files are gated by CMake instead, so they have no such block.
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
module;
|
||||
#include "winheaders.h" // HANDLE; setupapi.h happens to pull it in, but say so
|
||||
#include <cstdlib>
|
||||
#include <string>
|
||||
#include <setupapi.h>
|
||||
|
||||
Reference in New Issue
Block a user