diff --git a/host/hackrf-tools/src/hackrf_sweep.c b/host/hackrf-tools/src/hackrf_sweep.c index a1460735..da700fa2 100644 --- a/host/hackrf-tools/src/hackrf_sweep.c +++ b/host/hackrf-tools/src/hackrf_sweep.c @@ -35,6 +35,8 @@ #include #include +#define _FILE_OFFSET_BITS 64 + #ifndef bool typedef int bool; #define true 1 diff --git a/host/hackrf-tools/src/hackrf_transfer.c b/host/hackrf-tools/src/hackrf_transfer.c index ed4bc6ad..f44a0e25 100644 --- a/host/hackrf-tools/src/hackrf_transfer.c +++ b/host/hackrf-tools/src/hackrf_transfer.c @@ -34,6 +34,8 @@ #include #include +#define _FILE_OFFSET_BITS 64 + #ifndef bool typedef int bool; #define true 1