--- hatari/src/includes/file.h 2019/04/09 08:55:43 1.1.1.17 +++ hatari/src/includes/file.h 2019/04/09 08:58:11 1.1.1.19 @@ -9,10 +9,14 @@ #define HATARI_FILE_H #include "config.h" +#include /* Needed for off_t */ #ifndef HAVE_FSEEKO #define fseeko fseek #endif +#ifndef HAVE_FTELLO +#define ftello ftell +#endif extern void File_CleanFileName(char *pszFileName); extern void File_AddSlashToEndFileName(char *pszFileName); @@ -40,5 +44,8 @@ extern void File_MakeAbsoluteName(char * extern void File_MakeValidPathName(char *pPathName); extern void File_PathShorten(char *path, int dirs); extern void File_HandleDotDirs(char *path); +#if defined(WIN32) +extern char* WinTmpFile(void); +#endif #endif /* HATARI_FILE_H */