DPDK patches and discussions
 help / color / mirror / Atom feed
From: Bruce Richardson <bruce.richardson@intel.com>
To: dev@dpdk.org
Cc: Bruce Richardson <bruce.richardson@intel.com>, stable@dpdk.org
Subject: [dpdk-dev] [PATCH 1/3] test/compress: fix missing header include
Date: Mon, 25 Feb 2019 15:23:02 +0000	[thread overview]
Message-ID: <20190225152304.62607-2-bruce.richardson@intel.com> (raw)
In-Reply-To: <20190225152304.62607-1-bruce.richardson@intel.com>

usleep() is defined in unistd.h, which is missing from include list
in test_compressdev.c, causing compiler errors on FreeBSD.

CC: stable@dpdk.org
Fixes: b06aa643cac4 ("test/compress: add initial unit tests")

Signed-off-by: Bruce Richardson <bruce.richardson@intel.com>
---
 test/test/test_compressdev.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/test/test/test_compressdev.c b/test/test/test_compressdev.c
index e8476edd2..13cf26c9a 100644
--- a/test/test/test_compressdev.c
+++ b/test/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>
-- 
2.20.1

  reply	other threads:[~2019-02-25 15:23 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-02-25 15:23 [dpdk-dev] [PATCH 0/3] small fixes for FreeBSD builds Bruce Richardson
2019-02-25 15:23 ` Bruce Richardson [this message]
2019-02-25 15:23 ` [dpdk-dev] [PATCH 2/3] examples/ip_pipeline: disable build when no epoll Bruce Richardson
2019-02-25 15:23 ` [dpdk-dev] [PATCH 3/3] examples/vhost_crypto: fix dependency on vhost library Bruce Richardson
2019-02-25 16:24   ` Maxime Coquelin
2019-02-26 15:29 ` [dpdk-dev] [PATCH 0/3] small fixes for FreeBSD builds Thomas Monjalon

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20190225152304.62607-2-bruce.richardson@intel.com \
    --to=bruce.richardson@intel.com \
    --cc=dev@dpdk.org \
    --cc=stable@dpdk.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).