FreeBSD build fix

This commit is contained in:
skidau 2015-05-22 01:04:13 +00:00
parent 09e485dcad
commit 6d964a523f
1 changed files with 3 additions and 0 deletions

View File

@ -10,6 +10,9 @@
#ifndef __LIBRETRO__
#ifdef __GNUC__
#if defined (BSD) || defined (__NetBSD__)
#include <sys/param.h>
#endif
#if defined(__APPLE__) || defined (BSD) || defined (__NetBSD__)
typedef off_t __off64_t; /* off_t is 64 bits on BSD. */
#define fseeko64 fseeko