From 8450d532b42e1545defea2a7b2a4e4a2c082308b Mon Sep 17 00:00:00 2001 From: Isaac Connor Date: Thu, 14 Jun 2018 12:24:58 -0400 Subject: [PATCH] Add STDC_FORMAT_MACROS and include cinttypes so that PRIu64 works on centos7 --- src/zm_zone.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/zm_zone.cpp b/src/zm_zone.cpp index e25d5ffc8..b62ad41fe 100644 --- a/src/zm_zone.cpp +++ b/src/zm_zone.cpp @@ -17,12 +17,15 @@ // Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. // +#define __STDC_FORMAT_MACROS 1 +#include #include "zm.h" #include "zm_db.h" #include "zm_zone.h" #include "zm_image.h" #include "zm_monitor.h" + void Zone::Setup( Monitor *p_monitor, int p_id,