summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2018-01-10 17:12:15 -0500
committerPetri Latvala <petri.latvala@intel.com>2018-01-11 11:09:47 +0200
commit030977e711a9ec89d242a256fbfe6527a8d555bd (patch)
tree86a93787c8973be9b3ef777cfa59468e6c76de87 /tools
parent19c6c040b11d7a7068c66ae918a88c150243279b (diff)
include inttypes.h for PRI defines
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=96620 Signed-off-by: Mike Frysinger <vapier@gentoo.org> Reviewed-by: Petri Latvala <petri.latvala@intel.com>
Diffstat (limited to 'tools')
-rw-r--r--tools/hsw_compute_wrpll.c1
-rw-r--r--tools/intel_gpu_top.c1
-rw-r--r--tools/intel_opregion_decode.c1
-rw-r--r--tools/intel_residency.c1
-rw-r--r--tools/intel_watermark.c1
5 files changed, 5 insertions, 0 deletions
diff --git a/tools/hsw_compute_wrpll.c b/tools/hsw_compute_wrpll.c
index 6c85c07c..b1eeb7c7 100644
--- a/tools/hsw_compute_wrpll.c
+++ b/tools/hsw_compute_wrpll.c
@@ -21,6 +21,7 @@
* DEALINGS IN THE SOFTWARE.
*/
+#include <inttypes.h>
#include <stdio.h>
#include <stdbool.h>
#include <stdint.h>
diff --git a/tools/intel_gpu_top.c b/tools/intel_gpu_top.c
index 83cf53ea..098e6ce3 100644
--- a/tools/intel_gpu_top.c
+++ b/tools/intel_gpu_top.c
@@ -29,6 +29,7 @@
#include "config.h"
+#include <inttypes.h>
#include <unistd.h>
#include <stdlib.h>
#include <stdio.h>
diff --git a/tools/intel_opregion_decode.c b/tools/intel_opregion_decode.c
index 380e43a8..b0a503e1 100644
--- a/tools/intel_opregion_decode.c
+++ b/tools/intel_opregion_decode.c
@@ -28,6 +28,7 @@
#include <errno.h>
#include <fcntl.h>
#include <getopt.h>
+#include <inttypes.h>
#include <stdint.h>
#include <stdio.h>
#include <stdlib.h>
diff --git a/tools/intel_residency.c b/tools/intel_residency.c
index 116215a1..bfab40da 100644
--- a/tools/intel_residency.c
+++ b/tools/intel_residency.c
@@ -28,6 +28,7 @@
#include <sys/types.h>
#include <sys/stat.h>
#include <fcntl.h>
+#include <inttypes.h>
#include <unistd.h>
#include <signal.h>
#include <time.h>
diff --git a/tools/intel_watermark.c b/tools/intel_watermark.c
index 308e351d..03da68b6 100644
--- a/tools/intel_watermark.c
+++ b/tools/intel_watermark.c
@@ -22,6 +22,7 @@
*
*/
+#include <inttypes.h>
#include <unistd.h>
#include <stdlib.h>
#include <stdio.h>