mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-11-12 15:09:59 +01:00
refactor: don't avoid sys/types.h on when building for Windows
We've already used it unguarded in `httpserver.cpp` for years, with no build issues.
This commit is contained in:
@@ -24,11 +24,12 @@
|
||||
#include <thread>
|
||||
#include <vector>
|
||||
|
||||
#include <sys/types.h> // must go before a number of other headers
|
||||
|
||||
#ifdef WIN32
|
||||
#include <windows.h>
|
||||
#include <winreg.h>
|
||||
#else
|
||||
#include <sys/types.h> // must go before a number of other headers
|
||||
#include <fcntl.h>
|
||||
#include <netinet/in.h>
|
||||
#include <sys/resource.h>
|
||||
|
||||
Reference in New Issue
Block a user