Utilize the headers that POSIX_FADVISE requires.

This commit is contained in:
Jason Felds
2015-09-19 20:37:15 -04:00
parent f112234655
commit eac97a4b47
+7
View File
@@ -6,12 +6,19 @@
#if defined(HAVE_FCNTL_H)
#include <fcntl.h>
#endif
#if defined(HAVE_UNISTD_H)
#include <unistd.h>
#endif
#if defined(HAVE_SYS_TYPES_H)
#include <sys/types.h>
#endif
#include <cerrno>
#if defined(WIN32)
#include <io.h>
#endif
#if defined(HAVE_POSIX_FADVISE)
void RageFileManagerReadAhead::Init() { }
void RageFileManagerReadAhead::Shutdown() { }
void RageFileManagerReadAhead::ReadAhead( RageFileBasic *pFile, int iBytes )