git.droids-corp.org
/
dpdk.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0e7d651
)
test/compress: fix missing include
author
Bruce Richardson
<bruce.richardson@intel.com>
Fri, 19 Apr 2019 12:03:27 +0000
(13:03 +0100)
committer
Thomas Monjalon
<thomas@monjalon.net>
Fri, 19 Apr 2019 21:21:13 +0000
(23:21 +0200)
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>
app/test/test_compressdev.c
patch
|
blob
|
history
diff --git
a/app/test/test_compressdev.c
b/app/test/test_compressdev.c
index
8d6dbf0
..
1b1983e
100644
(file)
--- 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>