#include "universalhdr.h"\r
#include "unzip.h"\r
#include "zlib.h"\r
-#include "libelf/libelf.h"\r
-#include "libelf/gelf.h"\r
+#include "libelf.h"\r
+#include "gelf.h"\r
#include "libdwarf.h"\r
#include "debugger/ELFManager.h"\r
#include "debugger/DBGManager.h"\r
int DBGType = DBG_NO_TYPE;\r
bool error;\r
int err;\r
- struct _stat _statbuf;\r
+ struct stat _statbuf;\r
\r
jaguarROMSize = JaguarLoadROM(buffer, path);\r
\r
if ((elf_version(EV_CURRENT) != EV_NONE) && (ElfMem = ELFManager_MemOpen(PtrELFExe, jaguarROMSize)))\r
{\r
// get the file information\r
- _stat(path, &_statbuf);\r
+ stat(path, &_statbuf);\r
\r
if (ELFManager_DwarfInit(ElfMem, _statbuf))\r
{\r