diff --git a/host/hackrf-tools/src/hackrf_sweep.c b/host/hackrf-tools/src/hackrf_sweep.c index 97f66408..c9199e77 100644 --- a/host/hackrf-tools/src/hackrf_sweep.c +++ b/host/hackrf-tools/src/hackrf_sweep.c @@ -20,7 +20,6 @@ * the Free Software Foundation, Inc., 51 Franklin Street, * Boston, MA 02110-1301, USA. */ -#define _USE_MATH_DEFINES #include @@ -35,7 +34,6 @@ #include #include #include -#include #include #define _FILE_OFFSET_BITS 64 @@ -47,6 +45,7 @@ typedef int bool; #endif #ifdef _WIN32 +#define _USE_MATH_DEFINES #include #ifdef _MSC_VER @@ -84,6 +83,7 @@ int gettimeofday(struct timeval *tv, void* ignored) { #endif #include +#include #define FD_BUFFER_SIZE (8*1024)