From 31c5e08b80fd83b96975681746378538995e1a9a Mon Sep 17 00:00:00 2001
From: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Date: Wed, 22 Jun 2016 09:21:04 +0300
Subject: kmsprint: Include cinttypes instead of inttypes.h

cinttypes is the right C++ header, and doesn't require source files to
define __STDC_FORMAT_MACROS to get the integer type format macros.

Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
---
 utils/kmsprint.cpp | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/utils/kmsprint.cpp b/utils/kmsprint.cpp
index 7e3fd3b..fe1280e 100644
--- a/utils/kmsprint.cpp
+++ b/utils/kmsprint.cpp
@@ -1,9 +1,9 @@
-#include <cstdio>
 #include <algorithm>
+#include <cinttypes>
+#include <cstdio>
 #include <iostream>
 #include <string>
 #include <unistd.h>
-#include <inttypes.h>
 
 #include <kms++/kms++.h>
 #include <kms++util/kms++util.h>
-- 
cgit v1.2.3