summaryrefslogtreecommitdiff
path: root/utils
diff options
context:
space:
mode:
authorLaurent Pinchart <laurent.pinchart@ideasonboard.com>2016-06-22 09:21:04 +0300
committerTomi Valkeinen <tomi.valkeinen@ti.com>2016-06-22 09:32:20 +0300
commit31c5e08b80fd83b96975681746378538995e1a9a (patch)
treefb3d05aa7e586c50f83a50c6980df61a934bb2b3 /utils
parent4fb69b7d20e90746855de122422ac9cabd78f66f (diff)
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>
Diffstat (limited to 'utils')
-rw-r--r--utils/kmsprint.cpp4
1 files 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>