Fixed compilation on linux
This commit is contained in:
parent
0e4367f2a2
commit
86aa5d9800
|
@ -43,7 +43,9 @@ libdesmume_a_SOURCES = \
|
|||
utils/ConvertUTF.c utils/ConvertUTF.h utils/guid.cpp utils/guid.h \
|
||||
utils/md5.cpp utils/md5.h utils/valuearray.h utils/xstring.cpp utils/xstring.h \
|
||||
utils/decrypt/crc.cpp utils/decrypt/crc.h utils/decrypt/decrypt.cpp \
|
||||
utils/decrypt/decrypt.h utils/decrypt/header.cpp utils/decrypt/header.h
|
||||
utils/decrypt/decrypt.h utils/decrypt/header.cpp utils/decrypt/header.h \
|
||||
addons.c addons.h \
|
||||
addons/compactFlash.cpp addons/gbagame.cpp addons/none.cpp addons/rumblepak.cpp
|
||||
if HAVE_GDB_STUB
|
||||
libdesmume_a_SOURCES += gdbstub.h
|
||||
endif
|
||||
|
|
|
@ -28,6 +28,11 @@
|
|||
#include "types.h"
|
||||
#include "debug.h"
|
||||
|
||||
#ifdef __GNUC__
|
||||
#include <limits.h>
|
||||
#define MAX_PATH PATH_MAX
|
||||
#endif
|
||||
|
||||
typedef struct
|
||||
{
|
||||
// The name of the plugin, this name will appear in the plugins list
|
||||
|
|
|
@ -22,6 +22,7 @@
|
|||
*/
|
||||
|
||||
#include "../addons.h"
|
||||
#include <string.h>
|
||||
#ifdef EXPERIMENTAL_GBASLOT
|
||||
|
||||
#define DEBUG
|
||||
|
@ -31,7 +32,6 @@
|
|||
#include <errno.h>
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
|
||||
#include <fcntl.h>
|
||||
#include <sys/stat.h>
|
||||
|
|
|
@ -23,6 +23,7 @@
|
|||
|
||||
#include "../addons.h"
|
||||
#include "../mem.h"
|
||||
#include <string.h>
|
||||
#include "../MMU.h"
|
||||
|
||||
u8 *GBArom = NULL;
|
||||
|
|
|
@ -22,6 +22,7 @@
|
|||
*/
|
||||
|
||||
#include "../addons.h"
|
||||
#include <string.h>
|
||||
|
||||
BOOL None_init(void) { return (TRUE); };
|
||||
void None_reset(void) {};
|
||||
|
|
|
@ -24,6 +24,7 @@
|
|||
#include "../addons.h"
|
||||
#include "../mem.h"
|
||||
#include "../MMU.h"
|
||||
#include <string.h>
|
||||
|
||||
u8 rumble_hdr[0xC0];
|
||||
|
||||
|
|
Loading…
Reference in New Issue