Fix building with PCH disabled.

This commit is contained in:
Rohit Nirmal 2015-09-04 10:15:16 -05:00
parent 7ada372ed9
commit 8aed7589ae
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"