[dpdk-dev] test/test_cryptodev: fix missing include

Message ID 20171128125059.11715-1-jerin.jacob@caviumnetworks.com (mailing list archive)
State Accepted, archived
Delegated to: Pablo de Lara Guarch
Headers

Checks

Context Check Description
ci/checkpatch success coding style OK
ci/Intel-compilation success Compilation OK

Commit Message

Jerin Jacob Nov. 28, 2017, 12:50 p.m. UTC
  time() is defined in time.h

Fixes: ffbe3be0d4 ("app/test: add libcrypto")
Signed-off-by: Jerin Jacob <jerin.jacob@caviumnetworks.com>
---
 test/test/test_cryptodev.c | 2 ++
 1 file changed, 2 insertions(+)
  

Comments

De Lara Guarch, Pablo Dec. 11, 2017, 12:12 p.m. UTC | #1
Hi Jerin,

> -----Original Message-----
> From: dev [mailto:dev-bounces@dpdk.org] On Behalf Of Jerin Jacob
> Sent: Tuesday, November 28, 2017 12:51 PM
> To: dev@dpdk.org
> Cc: Doherty, Declan <declan.doherty@intel.com>; Jerin Jacob
> <jerin.jacob@caviumnetworks.com>
> Subject: [dpdk-dev] [PATCH] test/test_cryptodev: fix missing include
> 
> time() is defined in time.h
> 
> Fixes: ffbe3be0d4 ("app/test: add libcrypto")

Missing Cc: stable@dpdk.org, will add it for you.

Apart from that.

Applied to dpdk-next-crypto.
Thanks,

Pablo
  

Patch

diff --git a/test/test/test_cryptodev.c b/test/test/test_cryptodev.c
index 1bed65dad..7997b4882 100644
--- a/test/test/test_cryptodev.c
+++ b/test/test/test_cryptodev.c
@@ -30,6 +30,8 @@ 
  *   OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  */
 
+#include <time.h>
+
 #include <rte_common.h>
 #include <rte_hexdump.h>
 #include <rte_mbuf.h>