From d193a42b3596ceb9dfaa66af71edd1f15ecc75bd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin-=C3=89ric=20Racine?= Date: Sun, 13 Nov 2011 03:23:21 +0200 Subject: Added two #ifdef to enable building on FreeBSD. --- src/geode_msr.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/geode_msr.c b/src/geode_msr.c index 6de693f..4986013 100644 --- a/src/geode_msr.c +++ b/src/geode_msr.c @@ -6,6 +6,10 @@ #include #include "os.h" #include "geode.h" +#ifdef __FreeBSD__ +#define lseek64 lseek +#define off64_t off_t +#endif static int _msr_open(void) -- cgit v1.2.3