From 15c444e2eb7aba33f32407d493530bbdbad7d9bd Mon Sep 17 00:00:00 2001 From: Martijn van Brummelen Date: Wed, 3 Aug 2016 22:36:20 +0200 Subject: [PATCH] Build on Fedora --- src/nwipe.h | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/nwipe.h b/src/nwipe.h index 600c6e6..553be7e 100644 --- a/src/nwipe.h +++ b/src/nwipe.h @@ -31,6 +31,11 @@ #define _FILE_OFFSET_BITS 64 #endif +/* workaround for Fedora */ +#ifndef off64_t +# define off64_t off_t +#endif + /* Busybox headers. */ #ifdef BB_VER #include "busybox.h"