summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 4fb69b7)
raw | patch | inline | side by side (parent: 4fb69b7)
author | Laurent Pinchart <laurent.pinchart@ideasonboard.com> | |
Wed, 22 Jun 2016 06:21:04 +0000 (09:21 +0300) | ||
committer | Tomi Valkeinen <tomi.valkeinen@ti.com> | |
Wed, 22 Jun 2016 06:32:20 +0000 (09:32 +0300) |
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>
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 | patch | blob | history |
diff --git a/utils/kmsprint.cpp b/utils/kmsprint.cpp
index 7e3fd3b22b1ac299a0be1658b47a2854721c3778..fe1280eb497a33d7eef29605fdc662a5fdec0f01 100644 (file)
--- a/utils/kmsprint.cpp
+++ b/utils/kmsprint.cpp
-#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>