[dpdk-stable] [PATCH 17.11.7-rc1] test/rwlock: fix missing include
Ciara Power
ciara.power at intel.com
Fri Sep 27 12:14:53 CEST 2019
Using PRIu64 in print statements caused errors,
due to the inttypes header file not being included
at the top of the file. This is now included.
Fixes: 29e08d740ffc ("test/rwlock: benchmark on all available cores")
Cc: joyce.kong at arm.com
Cc: stable at dpdk.org
Reported-by: WenhuiX Zhu <wenhuix.zhu at intel.com>
Signed-off-by: Ciara Power <ciara.power at intel.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 1f327fecf..06788d288 100644
--- a/test/test/test_rwlock.c
+++ b/test/test/test_rwlock.c
@@ -35,6 +35,7 @@
#include <stdint.h>
#include <unistd.h>
#include <sys/queue.h>
+#include <inttypes.h>
#include <rte_common.h>
#include <rte_memory.h>
--
2.17.1
More information about the stable
mailing list