summaryrefslogtreecommitdiff
path: root/app
diff options
context:
space:
mode:
authorBruce Richardson <bruce.richardson@intel.com>2019-04-19 13:03:27 +0100
committerThomas Monjalon <thomas@monjalon.net>2019-04-19 23:21:13 +0200
commit890028e252a4c327e16bf8336432c9a17693330a (patch)
treeaa2a88288d74cd953f4ab072f9cfc66f729f67e0 /app
parent0e7d65181ae4382584855422c1e970c40372e598 (diff)
downloaddpdk-890028e252a4c327e16bf8336432c9a17693330a.zip
dpdk-890028e252a4c327e16bf8336432c9a17693330a.tar.gz
dpdk-890028e252a4c327e16bf8336432c9a17693330a.tar.xz
test/compress: fix missing include
Build of test_compressdev.c fails on FreeBSD due to the missing include of unistd.h, to provide the function usleep. Fixes: b06aa643cac4 ("test/compress: add initial unit tests") Cc: stable@dpdk.org Signed-off-by: Bruce Richardson <bruce.richardson@intel.com> Reviewed-by: David Marchand <david.marchand@redhat.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 8d6dbf0..1b1983e 100644
--- a/app/test/test_compressdev.c
+++ b/app/test/test_compressdev.c
@@ -5,6 +5,7 @@
#include <zlib.h>
#include <math.h>
#include <stdlib.h>
+#include <unistd.h>
#include <rte_cycles.h>
#include <rte_malloc.h>