mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2024-11-14 13:27:45 -07:00
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)
|
||||
#
|
||||
include_directories(Source/Core)
|
||||
|
||||
# TODO(delroth): Remove when relative-includes is done.
|
||||
include_directories(Source/Core/AudioCommon)
|
||||
include_directories(Source/Core/Common)
|
||||
include_directories(Source/Core/Core)
|
||||
|
@ -22,7 +22,7 @@
|
||||
#include "Core/HW/DSP.h"
|
||||
#include "Core/HW/DVDInterface.h"
|
||||
#include "Core/HW/EXI.h"
|
||||
#include "core/HW/GPFifo.h"
|
||||
#include "Core/HW/GPFifo.h"
|
||||
#include "Core/HW/MemoryInterface.h"
|
||||
#include "Core/HW/Memmap.h"
|
||||
#include "Core/HW/MMIO.h"
|
||||
|
@ -7,8 +7,10 @@
|
||||
#include <wx/wx.h>
|
||||
#include <wx/gbsizer.h>
|
||||
#include <wx/spinbutt.h>
|
||||
#include <wx/spinctrl.h>
|
||||
#include <wx/notebook.h>
|
||||
#include <wx/filepicker.h>
|
||||
|
||||
#include "Core/ConfigManager.h"
|
||||
#if defined(HAVE_XRANDR) && HAVE_XRANDR
|
||||
#include "DolphinWX/X11Utils.h"
|
||||
|
@ -25,7 +25,7 @@
|
||||
#include "DolphinWX/ISOProperties.h"
|
||||
#include "DolphinWX/Main.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_France.xpm"
|
||||
#include "DolphinWX/resources/Flag_Italy.xpm"
|
||||
|
@ -17,7 +17,7 @@
|
||||
#include "DolphinWX/WXInputBase.h"
|
||||
|
||||
#if defined(HAVE_X11) && HAVE_X11
|
||||
#include "DolphinWX/X11InputBase.h"
|
||||
#include "InputCommon/X11InputBase.h"
|
||||
#include <X11/Xlib.h>
|
||||
#include <X11/keysym.h>
|
||||
#endif
|
||||
|
@ -12,10 +12,6 @@
|
||||
#include "Common/FileUtil.h"
|
||||
#include "Common/IniFile.h"
|
||||
|
||||
#if defined HAVE_X11 && HAVE_X11
|
||||
#include <X11/Xlib.h>
|
||||
#endif
|
||||
|
||||
#include "Core/BootManager.h"
|
||||
#include "Core/ConfigManager.h"
|
||||
#include "Core/Host.h"
|
||||
@ -32,6 +28,10 @@
|
||||
|
||||
#include <wx/intl.h>
|
||||
|
||||
#if defined HAVE_X11 && HAVE_X11
|
||||
#include <X11/Xlib.h>
|
||||
#endif
|
||||
|
||||
#ifdef _WIN32
|
||||
#include <shellapi.h>
|
||||
|
||||
|
@ -9,6 +9,14 @@
|
||||
#include "Core/Core.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
|
||||
#include <wx/wx.h>
|
||||
#include <gtk/gtk.h>
|
||||
|
@ -2,7 +2,7 @@
|
||||
// Licensed under GPLv2
|
||||
// Refer to the license.txt file included.
|
||||
|
||||
#include "CommonPaths.h"
|
||||
#include "Common/CommonPaths.h"
|
||||
#include "Core/ConfigManager.h"
|
||||
#include "Core/HW/Wiimote.h"
|
||||
#include "InputCommon/InputConfig.h"
|
||||
|
@ -1,5 +1,3 @@
|
||||
#include "Common.h"
|
||||
#include "Thread.h"
|
||||
#include <algorithm>
|
||||
#include <array>
|
||||
#include <assert.h>
|
||||
@ -56,3 +54,6 @@
|
||||
#include <unordered_set>
|
||||
#include <utility>
|
||||
#include <vector>
|
||||
|
||||
#include "Common/Common.h"
|
||||
#include "Common/Thread.h"
|
||||
|
Loading…
Reference in New Issue
Block a user