time() is defined in time.h

Fixes: ffbe3be0d4 ("app/test: add libcrypto")
Signed-off-by: Jerin Jacob <jerin.ja...@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

Reply via email to