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:
a9de470
)
test/compress: fix missing header include
author
Bruce Richardson
<bruce.richardson@intel.com>
Mon, 25 Feb 2019 15:23:02 +0000
(15:23 +0000)
committer
Thomas Monjalon
<thomas@monjalon.net>
Tue, 26 Feb 2019 15:22:41 +0000
(16:22 +0100)
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>
app/test/test_compressdev.c
patch
|
blob
|
history
diff --git
a/app/test/test_compressdev.c
b/app/test/test_compressdev.c
index
e8476ed
..
13cf26c
100644
(file)
--- 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>