summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin-Éric Racine <martin-eric.racine@iki.fi>2011-11-13 03:23:21 +0200
committerMartin-Éric Racine <martin-eric.racine@iki.fi>2011-11-13 03:23:21 +0200
commitd193a42b3596ceb9dfaa66af71edd1f15ecc75bd (patch)
tree4e4502cc9119f1c2c609848a5422f954eb3c24ba
parentee6296ecb8bf5c9b5e7fa3eade5fa45245b66d62 (diff)
Added two #ifdef to enable building on FreeBSD.
-rw-r--r--src/geode_msr.c4
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)