diff options
author | Mike Frysinger <vapier@gentoo.org> | 2018-01-10 17:12:15 -0500 |
---|---|---|
committer | Petri Latvala <petri.latvala@intel.com> | 2018-01-11 11:09:47 +0200 |
commit | 030977e711a9ec89d242a256fbfe6527a8d555bd (patch) | |
tree | 86a93787c8973be9b3ef777cfa59468e6c76de87 | |
parent | 19c6c040b11d7a7068c66ae918a88c150243279b (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>
-rw-r--r-- | lib/igt_fb.c | 1 | ||||
-rw-r--r-- | lib/igt_kms.c | 1 | ||||
-rw-r--r-- | lib/intel_os.c | 1 | ||||
-rw-r--r-- | tests/prime_nv_pcopy.c | 1 | ||||
-rw-r--r-- | tools/hsw_compute_wrpll.c | 1 | ||||
-rw-r--r-- | tools/intel_gpu_top.c | 1 | ||||
-rw-r--r-- | tools/intel_opregion_decode.c | 1 | ||||
-rw-r--r-- | tools/intel_residency.c | 1 | ||||
-rw-r--r-- | tools/intel_watermark.c | 1 |
9 files changed, 9 insertions, 0 deletions
diff --git a/lib/igt_fb.c b/lib/igt_fb.c index dcae07df..ded639e8 100644 --- a/lib/igt_fb.c +++ b/lib/igt_fb.c @@ -27,6 +27,7 @@ #include <stdio.h> #include <math.h> +#include <inttypes.h> #include "drmtest.h" #include "igt_fb.h" diff --git a/lib/igt_kms.c b/lib/igt_kms.c index 069752ec..eb57f4a9 100644 --- a/lib/igt_kms.c +++ b/lib/igt_kms.c @@ -26,6 +26,7 @@ */ #include "config.h" +#include <inttypes.h> #include <unistd.h> #include <stdio.h> #include <stdarg.h> diff --git a/lib/intel_os.c b/lib/intel_os.c index a77566c1..bb2c16bf 100644 --- a/lib/intel_os.c +++ b/lib/intel_os.c @@ -28,6 +28,7 @@ #include "config.h" +#include <inttypes.h> #include <unistd.h> #include <stdlib.h> #include <stdio.h> diff --git a/tests/prime_nv_pcopy.c b/tests/prime_nv_pcopy.c index b5ceabf1..bbcf7680 100644 --- a/tests/prime_nv_pcopy.c +++ b/tests/prime_nv_pcopy.c @@ -15,6 +15,7 @@ #include "igt.h" +#include <inttypes.h> #include <stdio.h> #include <stdlib.h> #include <unistd.h> 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> |