diff options
author | Martin-Éric Racine <martin-eric.racine@iki.fi> | 2011-11-13 03:23:21 +0200 |
---|---|---|
committer | Martin-Éric Racine <martin-eric.racine@iki.fi> | 2011-11-13 03:23:21 +0200 |
commit | d193a42b3596ceb9dfaa66af71edd1f15ecc75bd (patch) | |
tree | 4e4502cc9119f1c2c609848a5422f954eb3c24ba | |
parent | ee6296ecb8bf5c9b5e7fa3eade5fa45245b66d62 (diff) |
Added two #ifdef to enable building on FreeBSD.
-rw-r--r-- | src/geode_msr.c | 4 |
1 files changed, 4 insertions, 0 deletions
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 <errno.h> #include "os.h" #include "geode.h" +#ifdef __FreeBSD__ +#define lseek64 lseek +#define off64_t off_t +#endif static int _msr_open(void) |