diff options
| author | Scott Mansell <phiren@gmail.com> | 2015-09-06 19:59:49 +1200 |
|---|---|---|
| committer | Scott Mansell <phiren@gmail.com> | 2015-09-06 19:59:49 +1200 |
| commit | a26cac87fcea6a0859d6b95653d67710cb0f800e (patch) | |
| tree | 5c4dbbf0d4be612ab9d0642261dcc34d2ac7b37c /Source/Core | |
| parent | 61da83182ee21d8675739b7317ee1ae73e33692d (diff) | |
| parent | 8aed7589aeddd9f1ac0bba8726b052e82c1ed8ba (diff) | |
Merge pull request #2959 from rohit-n/build-pch
Fix building with PCH disabled.
Diffstat (limited to 'Source/Core')
| -rw-r--r-- | Source/Core/Common/Logging/ConsoleListenerNix.cpp | 4 | ||||
| -rw-r--r-- | Source/Core/Common/Thread.cpp | 4 | ||||
| -rw-r--r-- | Source/Core/Core/HW/BBA-TAP/TAP_Unix.cpp | 4 | ||||
| -rw-r--r-- | Source/Core/Core/HW/WiimoteReal/IONix.cpp | 3 | ||||
| -rw-r--r-- | Source/Core/Core/IPC_HLE/WII_Socket.cpp | 3 |
5 files changed, 18 insertions, 0 deletions
diff --git a/Source/Core/Common/Logging/ConsoleListenerNix.cpp b/Source/Core/Common/Logging/ConsoleListenerNix.cpp index dd64ca314e..b891b29090 100644 --- a/Source/Core/Common/Logging/ConsoleListenerNix.cpp +++ b/Source/Core/Common/Logging/ConsoleListenerNix.cpp @@ -4,6 +4,10 @@ #include <cstdio> +#ifndef _WIN32 +#include <unistd.h> +#endif + #include "Common/Logging/ConsoleListener.h" ConsoleListener::ConsoleListener() diff --git a/Source/Core/Common/Thread.cpp b/Source/Core/Common/Thread.cpp index 1e60fbb29f..11cb48bb49 100644 --- a/Source/Core/Common/Thread.cpp +++ b/Source/Core/Common/Thread.cpp @@ -6,6 +6,10 @@ #include "Common/CommonTypes.h" #include "Common/Thread.h" +#ifndef _WIN32 +#include <unistd.h> +#endif + #ifdef __APPLE__ #include <mach/mach.h> #elif defined BSD4_4 || defined __FreeBSD__ diff --git a/Source/Core/Core/HW/BBA-TAP/TAP_Unix.cpp b/Source/Core/Core/HW/BBA-TAP/TAP_Unix.cpp index be16f437eb..7cb546a7de 100644 --- a/Source/Core/Core/HW/BBA-TAP/TAP_Unix.cpp +++ b/Source/Core/Core/HW/BBA-TAP/TAP_Unix.cpp @@ -2,6 +2,10 @@ // Licensed under GPLv2+ // Refer to the license.txt file included. +#ifndef _WIN32 +#include <unistd.h> +#endif + #include "Common/StringUtil.h" #include "Core/HW/EXI_Device.h" #include "Core/HW/EXI_DeviceEthernet.h" diff --git a/Source/Core/Core/HW/WiimoteReal/IONix.cpp b/Source/Core/Core/HW/WiimoteReal/IONix.cpp index afbaa434b4..c72dbad8b6 100644 --- a/Source/Core/Core/HW/WiimoteReal/IONix.cpp +++ b/Source/Core/Core/HW/WiimoteReal/IONix.cpp @@ -2,6 +2,9 @@ // Licensed under GPLv2+ // Refer to the license.txt file included. +#ifndef _WIN32 +#include <unistd.h> +#endif #include <bluetooth/bluetooth.h> #include <bluetooth/hci.h> #include <bluetooth/hci_lib.h> diff --git a/Source/Core/Core/IPC_HLE/WII_Socket.cpp b/Source/Core/Core/IPC_HLE/WII_Socket.cpp index 07fddb24cc..e5dea8728b 100644 --- a/Source/Core/Core/IPC_HLE/WII_Socket.cpp +++ b/Source/Core/Core/IPC_HLE/WII_Socket.cpp @@ -3,6 +3,9 @@ // Refer to the license.txt file included. #include <algorithm> +#ifndef _WIN32 +#include <unistd.h> +#endif #include "Common/FileUtil.h" #include "Core/Core.h" |
