mirror of
https://github.com/OpenRCT2/OpenRCT2
synced 2026-01-29 01:35:06 +01:00
Use C++ headers in C++ code
This commit is contained in:
committed by
Michał Janiszewski
parent
b2bc974fe7
commit
33a94fe1bb
@@ -21,7 +21,7 @@
|
||||
#include <thread>
|
||||
|
||||
// MSVC: include <math.h> here otherwise PI gets defined twice
|
||||
#include <math.h>
|
||||
#include <cmath>
|
||||
|
||||
#ifdef _WIN32
|
||||
// winsock2 must be included before windows.h
|
||||
@@ -40,7 +40,7 @@
|
||||
#endif
|
||||
#define FLAG_NO_PIPE 0
|
||||
#else
|
||||
#include <errno.h>
|
||||
#include <cerrno>
|
||||
#include <arpa/inet.h>
|
||||
#include <netdb.h>
|
||||
#include <netinet/tcp.h>
|
||||
|
||||
Reference in New Issue
Block a user