summaryrefslogtreecommitdiff
path: root/Source/Core
diff options
context:
space:
mode:
authorhthh <hthh@hh.ht>2017-01-02 11:45:24 +1100
committerhthh <hthh@hh.ht>2017-01-02 11:45:24 +1100
commit387164a999f8372fd4bf0f1b5e66d8a06f4e5ae9 (patch)
treeae9dd660f1c25c3d587d7b1dba3b5e6267dbdffd /Source/Core
parentb10a0de76965ff5225234c6eb4ababb38c48147a (diff)
macOS: Add missing includes to fix no-PCH build
Diffstat (limited to 'Source/Core')
-rw-r--r--Source/Core/Core/HW/BBA-TAP/TAP_Apple.cpp1
-rw-r--r--Source/Core/InputCommon/ControllerInterface/Quartz/QuartzKeyboardAndMouse.mm6
2 files changed, 5 insertions, 2 deletions
diff --git a/Source/Core/Core/HW/BBA-TAP/TAP_Apple.cpp b/Source/Core/Core/HW/BBA-TAP/TAP_Apple.cpp
index 6246c21bf3..380fe1b814 100644
--- a/Source/Core/Core/HW/BBA-TAP/TAP_Apple.cpp
+++ b/Source/Core/Core/HW/BBA-TAP/TAP_Apple.cpp
@@ -3,6 +3,7 @@
// Refer to the license.txt file included.
#include <fcntl.h>
+#include <unistd.h>
#include "Common/Logging/Log.h"
#include "Common/StringUtil.h"
diff --git a/Source/Core/InputCommon/ControllerInterface/Quartz/QuartzKeyboardAndMouse.mm b/Source/Core/InputCommon/ControllerInterface/Quartz/QuartzKeyboardAndMouse.mm
index 8aa83370dd..a52f8df4b0 100644
--- a/Source/Core/InputCommon/ControllerInterface/Quartz/QuartzKeyboardAndMouse.mm
+++ b/Source/Core/InputCommon/ControllerInterface/Quartz/QuartzKeyboardAndMouse.mm
@@ -2,11 +2,13 @@
// Licensed under GPLv2+
// Refer to the license.txt file included.
+#include "InputCommon/ControllerInterface/Quartz/QuartzKeyboardAndMouse.h"
+
+#include <map>
+
#include <Carbon/Carbon.h>
#include <Cocoa/Cocoa.h>
-#include "InputCommon/ControllerInterface/Quartz/QuartzKeyboardAndMouse.h"
-
namespace ciface
{
namespace Quartz