Merge pull request #2959 from rohit-n/build-pch

Fix building with PCH disabled.
This commit is contained in:
Scott Mansell 2015-09-06 19:59:49 +12:00
commit a26cac87fc
5 changed files with 18 additions and 0 deletions

View File

@ -4,6 +4,10 @@
#include <cstdio>
#ifndef _WIN32
#include <unistd.h>
#endif
#include "Common/Logging/ConsoleListener.h"
ConsoleListener::ConsoleListener()

View File

@ -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__

View File

@ -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"

View File

@ -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>

View File

@ -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"