dont include sys/wait.h on windows

This commit is contained in:
jeff 2020-08-20 16:29:33 +00:00 committed by Jeff Becker
parent d973ce9089
commit 528340e056
No known key found for this signature in database
GPG Key ID: F357B3B42F6F9B05
1 changed files with 2 additions and 1 deletions

View File

@ -5,7 +5,6 @@
#include <vector>
#include <array>
#include <net/net.hpp>
#include <sys/wait.h>
#ifdef _WIN32
// add the unholy windows headers for iphlpapi
@ -13,6 +12,8 @@
#include <ws2tcpip.h>
#include <iphlpapi.h>
#include <strsafe.h>
#else
#include <sys/wait.h>
#endif
/// do a lokimq request on an lmq instance blocking style