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

Jerin Jacob jerin.jacob at caviumnetworks.com
Tue Nov 28 13:50:59 CET 2017


time() is defined in time.h

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

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>
-- 
2.15.0



More information about the dev mailing list