Fix Linux build
This commit is contained in:
parent
2afe215271
commit
dc1db82f70
|
@ -472,6 +472,9 @@ endif()
|
||||||
########################################
|
########################################
|
||||||
# Setup include directories (and make sure they are preferred over the Externals)
|
# Setup include directories (and make sure they are preferred over the Externals)
|
||||||
#
|
#
|
||||||
|
include_directories(Source/Core)
|
||||||
|
|
||||||
|
# TODO(delroth): Remove when relative-includes is done.
|
||||||
include_directories(Source/Core/AudioCommon)
|
include_directories(Source/Core/AudioCommon)
|
||||||
include_directories(Source/Core/Common)
|
include_directories(Source/Core/Common)
|
||||||
include_directories(Source/Core/Core)
|
include_directories(Source/Core/Core)
|
||||||
|
|
|
@ -22,7 +22,7 @@
|
||||||
#include "Core/HW/DSP.h"
|
#include "Core/HW/DSP.h"
|
||||||
#include "Core/HW/DVDInterface.h"
|
#include "Core/HW/DVDInterface.h"
|
||||||
#include "Core/HW/EXI.h"
|
#include "Core/HW/EXI.h"
|
||||||
#include "core/HW/GPFifo.h"
|
#include "Core/HW/GPFifo.h"
|
||||||
#include "Core/HW/MemoryInterface.h"
|
#include "Core/HW/MemoryInterface.h"
|
||||||
#include "Core/HW/Memmap.h"
|
#include "Core/HW/Memmap.h"
|
||||||
#include "Core/HW/MMIO.h"
|
#include "Core/HW/MMIO.h"
|
||||||
|
|
|
@ -7,8 +7,10 @@
|
||||||
#include <wx/wx.h>
|
#include <wx/wx.h>
|
||||||
#include <wx/gbsizer.h>
|
#include <wx/gbsizer.h>
|
||||||
#include <wx/spinbutt.h>
|
#include <wx/spinbutt.h>
|
||||||
|
#include <wx/spinctrl.h>
|
||||||
#include <wx/notebook.h>
|
#include <wx/notebook.h>
|
||||||
#include <wx/filepicker.h>
|
#include <wx/filepicker.h>
|
||||||
|
|
||||||
#include "Core/ConfigManager.h"
|
#include "Core/ConfigManager.h"
|
||||||
#if defined(HAVE_XRANDR) && HAVE_XRANDR
|
#if defined(HAVE_XRANDR) && HAVE_XRANDR
|
||||||
#include "DolphinWX/X11Utils.h"
|
#include "DolphinWX/X11Utils.h"
|
||||||
|
|
|
@ -25,7 +25,7 @@
|
||||||
#include "DolphinWX/ISOProperties.h"
|
#include "DolphinWX/ISOProperties.h"
|
||||||
#include "DolphinWX/Main.h"
|
#include "DolphinWX/Main.h"
|
||||||
#include "DolphinWX/WxUtils.h"
|
#include "DolphinWX/WxUtils.h"
|
||||||
#include "DolphinWx/resources/Flag_Europe.xpm"
|
#include "DolphinWX/resources/Flag_Europe.xpm"
|
||||||
#include "DolphinWX/resources/Flag_Germany.xpm"
|
#include "DolphinWX/resources/Flag_Germany.xpm"
|
||||||
#include "DolphinWX/resources/Flag_France.xpm"
|
#include "DolphinWX/resources/Flag_France.xpm"
|
||||||
#include "DolphinWX/resources/Flag_Italy.xpm"
|
#include "DolphinWX/resources/Flag_Italy.xpm"
|
||||||
|
|
|
@ -17,7 +17,7 @@
|
||||||
#include "DolphinWX/WXInputBase.h"
|
#include "DolphinWX/WXInputBase.h"
|
||||||
|
|
||||||
#if defined(HAVE_X11) && HAVE_X11
|
#if defined(HAVE_X11) && HAVE_X11
|
||||||
#include "DolphinWX/X11InputBase.h"
|
#include "InputCommon/X11InputBase.h"
|
||||||
#include <X11/Xlib.h>
|
#include <X11/Xlib.h>
|
||||||
#include <X11/keysym.h>
|
#include <X11/keysym.h>
|
||||||
#endif
|
#endif
|
||||||
|
|
|
@ -12,10 +12,6 @@
|
||||||
#include "Common/FileUtil.h"
|
#include "Common/FileUtil.h"
|
||||||
#include "Common/IniFile.h"
|
#include "Common/IniFile.h"
|
||||||
|
|
||||||
#if defined HAVE_X11 && HAVE_X11
|
|
||||||
#include <X11/Xlib.h>
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#include "Core/BootManager.h"
|
#include "Core/BootManager.h"
|
||||||
#include "Core/ConfigManager.h"
|
#include "Core/ConfigManager.h"
|
||||||
#include "Core/Host.h"
|
#include "Core/Host.h"
|
||||||
|
@ -32,6 +28,10 @@
|
||||||
|
|
||||||
#include <wx/intl.h>
|
#include <wx/intl.h>
|
||||||
|
|
||||||
|
#if defined HAVE_X11 && HAVE_X11
|
||||||
|
#include <X11/Xlib.h>
|
||||||
|
#endif
|
||||||
|
|
||||||
#ifdef _WIN32
|
#ifdef _WIN32
|
||||||
#include <shellapi.h>
|
#include <shellapi.h>
|
||||||
|
|
||||||
|
|
|
@ -9,6 +9,14 @@
|
||||||
#include "Core/Core.h"
|
#include "Core/Core.h"
|
||||||
#include "Core/ConfigManager.h"
|
#include "Core/ConfigManager.h"
|
||||||
|
|
||||||
|
// HACK: Xlib.h (included from gtk/gdk headers and directly) uses #defines on
|
||||||
|
// common names such as "Status", "BadRequest" or "Response", causing SFML
|
||||||
|
// headers to be completely broken.
|
||||||
|
//
|
||||||
|
// We work around that issue by including SFML first before X11 headers. This
|
||||||
|
// is terrible, but such is the life with Xlib.
|
||||||
|
#include <SFML/Network.hpp>
|
||||||
|
|
||||||
#if defined(HAVE_WX) && HAVE_WX
|
#if defined(HAVE_WX) && HAVE_WX
|
||||||
#include <wx/wx.h>
|
#include <wx/wx.h>
|
||||||
#include <gtk/gtk.h>
|
#include <gtk/gtk.h>
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
// Licensed under GPLv2
|
// Licensed under GPLv2
|
||||||
// Refer to the license.txt file included.
|
// Refer to the license.txt file included.
|
||||||
|
|
||||||
#include "CommonPaths.h"
|
#include "Common/CommonPaths.h"
|
||||||
#include "Core/ConfigManager.h"
|
#include "Core/ConfigManager.h"
|
||||||
#include "Core/HW/Wiimote.h"
|
#include "Core/HW/Wiimote.h"
|
||||||
#include "InputCommon/InputConfig.h"
|
#include "InputCommon/InputConfig.h"
|
||||||
|
|
|
@ -1,5 +1,3 @@
|
||||||
#include "Common.h"
|
|
||||||
#include "Thread.h"
|
|
||||||
#include <algorithm>
|
#include <algorithm>
|
||||||
#include <array>
|
#include <array>
|
||||||
#include <assert.h>
|
#include <assert.h>
|
||||||
|
@ -56,3 +54,6 @@
|
||||||
#include <unordered_set>
|
#include <unordered_set>
|
||||||
#include <utility>
|
#include <utility>
|
||||||
#include <vector>
|
#include <vector>
|
||||||
|
|
||||||
|
#include "Common/Common.h"
|
||||||
|
#include "Common/Thread.h"
|
||||||
|
|
Loading…
Reference in New Issue