[dpdk-stable] [PATCH 17.11] test/rwlock: add missing inttypes include

luca.boccassi at gmail.com luca.boccassi at gmail.com
Tue Sep 24 20:22:10 CEST 2019


From: Luca Boccassi <luca.boccassi at microsoft.com>

The custom backport for 17.11 missed it, and the test build fails.

Fixes: 29e08d740ffc ("test/rwlock: benchmark on all available cores")

Signed-off-by: Luca Boccassi <luca.boccassi at microsoft.com>
---
 test/test/test_rwlock.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/test/test/test_rwlock.c b/test/test/test_rwlock.c
index 1f327fecfa..855ebf49e7 100644
--- a/test/test/test_rwlock.c
+++ b/test/test/test_rwlock.c
@@ -33,6 +33,7 @@
 
 #include <stdio.h>
 #include <stdint.h>
+#include <inttypes.h>
 #include <unistd.h>
 #include <sys/queue.h>
 
-- 
2.20.1



More information about the stable mailing list