From f090e9b27ccc92bf7a4295ab90d4ca855d366760 Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Thu, 7 Jul 2016 15:10:48 +1000 Subject: [PATCH] HAL_Linux: fixed makefile build with PRIu64 --- libraries/AP_HAL_Linux/Perf.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/libraries/AP_HAL_Linux/Perf.cpp b/libraries/AP_HAL_Linux/Perf.cpp index 300c8cdd53..33ab955d0e 100644 --- a/libraries/AP_HAL_Linux/Perf.cpp +++ b/libraries/AP_HAL_Linux/Perf.cpp @@ -28,6 +28,10 @@ #include "Perf.h" #include "Perf_Lttng.h" +#ifndef PRIu64 +#define PRIu64 "llu" +#endif + using namespace Linux; static const AP_HAL::HAL &hal = AP_HAL::get_HAL();