From 6d964a523f6291b68d76cbba408d81d49f794bf4 Mon Sep 17 00:00:00 2001 From: skidau Date: Fri, 22 May 2015 01:04:13 +0000 Subject: [PATCH] FreeBSD build fix --- src/common/Patch.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/common/Patch.cpp b/src/common/Patch.cpp index 0d438f78..78ebddb4 100644 --- a/src/common/Patch.cpp +++ b/src/common/Patch.cpp @@ -10,6 +10,9 @@ #ifndef __LIBRETRO__ #ifdef __GNUC__ +#if defined (BSD) || defined (__NetBSD__) +#include +#endif #if defined(__APPLE__) || defined (BSD) || defined (__NetBSD__) typedef off_t __off64_t; /* off_t is 64 bits on BSD. */ #define fseeko64 fseeko