Indicate system includes for relevant SDL headers
This commit is contained in:
parent
ce7c27a48b
commit
3a68ba2b26
11 changed files with 24 additions and 29 deletions
|
@ -22,7 +22,7 @@
|
|||
#include <string>
|
||||
#include <algorithm>
|
||||
|
||||
#include "SDL.h"
|
||||
#include <SDL.h>
|
||||
|
||||
#include "dosbox.h"
|
||||
#include "midi.h"
|
||||
|
|
|
@ -18,7 +18,7 @@
|
|||
|
||||
|
||||
#if 0
|
||||
#include "SDL.h"
|
||||
#include <SDL.h>
|
||||
#include "../libs/gui_tk/gui_tk.h"
|
||||
|
||||
#include "dosbox.h"
|
||||
|
|
|
@ -29,8 +29,8 @@
|
|||
#include <list>
|
||||
#include <vector>
|
||||
|
||||
#include "SDL.h"
|
||||
#include "SDL_thread.h"
|
||||
#include <SDL.h>
|
||||
#include <SDL_thread.h>
|
||||
|
||||
#include "joystick.h"
|
||||
#include "keyboard.h"
|
||||
|
@ -2556,11 +2556,7 @@ void MAPPER_Init(void) {
|
|||
}
|
||||
}
|
||||
}
|
||||
//Somehow including them at the top conflicts with something in setup.h
|
||||
#ifdef C_X11_XKB
|
||||
#include "SDL_syswm.h"
|
||||
#include <X11/XKBlib.h>
|
||||
#endif
|
||||
|
||||
void MAPPER_StartUp(Section * sec) {
|
||||
Section_prop * section=static_cast<Section_prop *>(sec);
|
||||
mapper.sticks.num=0;
|
||||
|
|
|
@ -21,6 +21,8 @@
|
|||
#define _GNU_SOURCE
|
||||
#endif
|
||||
|
||||
#include "dosbox.h"
|
||||
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
#include <stdio.h>
|
||||
|
@ -32,10 +34,12 @@
|
|||
#include <process.h>
|
||||
#endif
|
||||
|
||||
#include "cross.h"
|
||||
#include "SDL.h"
|
||||
#include <SDL.h>
|
||||
#if C_OPENGL
|
||||
#include <SDL_opengl.h>
|
||||
#endif
|
||||
|
||||
#include "dosbox.h"
|
||||
#include "cross.h"
|
||||
#include "video.h"
|
||||
#include "mouse.h"
|
||||
#include "pic.h"
|
||||
|
@ -47,18 +51,17 @@
|
|||
#include "vga.h"
|
||||
#include "keyboard.h"
|
||||
#include "cpu.h"
|
||||
#include "cross.h"
|
||||
#include "control.h"
|
||||
|
||||
#define MAPPERFILE "mapper-sdl2-" VERSION ".map"
|
||||
//#define DISABLE_JOYSTICK
|
||||
|
||||
#if C_OPENGL
|
||||
#include "SDL_opengl.h"
|
||||
|
||||
#ifndef APIENTRY
|
||||
#define APIENTRY
|
||||
#endif
|
||||
|
||||
#ifndef APIENTRYP
|
||||
#define APIENTRYP APIENTRY *
|
||||
#endif
|
||||
|
@ -88,7 +91,7 @@ PFNGLBUFFERDATAARBPROC glBufferDataARB = NULL;
|
|||
PFNGLMAPBUFFERARBPROC glMapBufferARB = NULL;
|
||||
PFNGLUNMAPBUFFERARBPROC glUnmapBufferARB = NULL;
|
||||
|
||||
#endif //C_OPENGL
|
||||
#endif // C_OPENGL
|
||||
|
||||
#if !(ENVIRON_INCLUDED)
|
||||
extern char** environ;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue