Skip to content

Commit

Permalink
test/compress: fix missing include
Browse files Browse the repository at this point in the history
Build of test_compressdev.c fails on FreeBSD due to the missing
include of unistd.h, to provide the function usleep.

Fixes: b06aa64 ("test/compress: add initial unit tests")
Cc: [email protected]

Signed-off-by: Bruce Richardson <[email protected]>
Reviewed-by: David Marchand <[email protected]>
  • Loading branch information
bruce-richardson authored and tmonjalo committed Apr 19, 2019
1 parent 0e7d651 commit 890028e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions app/test/test_compressdev.c
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
#include <zlib.h>
#include <math.h>
#include <stdlib.h>
#include <unistd.h>

#include <rte_cycles.h>
#include <rte_malloc.h>
Expand Down

0 comments on commit 890028e

Please sign in to comment.