kmsprint: Include cinttypes instead of inttypes.h
authorLaurent Pinchart <laurent.pinchart@ideasonboard.com>
Wed, 22 Jun 2016 06:21:04 +0000 (09:21 +0300)
committerTomi 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>
utils/kmsprint.cpp

index 7e3fd3b22b1ac299a0be1658b47a2854721c3778..fe1280eb497a33d7eef29605fdc662a5fdec0f01 100644 (file)
@@ -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>