summaryrefslogtreecommitdiff
path: root/app
diff options
context:
space:
mode:
authorBruce Richardson <bruce.richardson@intel.com>2019-02-25 15:23:02 +0000
committerThomas Monjalon <thomas@monjalon.net>2019-02-26 16:22:41 +0100
commit1fd0fa258b3eacf94b3c30c8ceb42c317572cd05 (patch)
tree505301da4bed67b03a8a0c4b5fe8a45e79009e6d /app
parenta9de470cc7c0649221e156fc5f30a2dbdfe7c166 (diff)
downloaddpdk-next-eventdev-1fd0fa258b3eacf94b3c30c8ceb42c317572cd05.zip
dpdk-next-eventdev-1fd0fa258b3eacf94b3c30c8ceb42c317572cd05.tar.gz
dpdk-next-eventdev-1fd0fa258b3eacf94b3c30c8ceb42c317572cd05.tar.xz
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: b06aa643cac4 ("test/compress: add initial unit tests") Cc: stable@dpdk.org Signed-off-by: Bruce Richardson <bruce.richardson@intel.com>
Diffstat (limited to 'app')
-rw-r--r--app/test/test_compressdev.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/app/test/test_compressdev.c b/app/test/test_compressdev.c
index e8476ed..13cf26c 100644
--- a/app/test/test_compressdev.c
+++ b/app/test/test_compressdev.c
@@ -4,6 +4,7 @@
#include <string.h>
#include <zlib.h>
#include <math.h>
+#include <unistd.h>
#include <rte_cycles.h>
#include <rte_malloc.h>