test/compress: fix missing header include

usleep() is defined in unistd.h, which is missing from include list
in test_compressdev.c, causing compiler errors on FreeBSD.

Fixes: b06aa643ca ("test/compress: add initial unit tests")
Cc: stable@dpdk.org

Signed-off-by: Bruce Richardson <bruce.richardson@intel.com>
This commit is contained in:
Bruce Richardson 2019-02-25 15:23:02 +00:00 committed by Thomas Monjalon
parent a9de470cc7
commit 1fd0fa258b

View File

@ -4,6 +4,7 @@
#include <string.h>
#include <zlib.h>
#include <math.h>
#include <unistd.h>
#include <rte_cycles.h>
#include <rte_malloc.h>