From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id 63E12A0598; Tue, 21 Apr 2020 17:05:32 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id CE0661D52D; Tue, 21 Apr 2020 17:05:31 +0200 (CEST) Received: from mellanox.co.il (mail-il-dmz.mellanox.com [193.47.165.129]) by dpdk.org (Postfix) with ESMTP id A86911D51F for ; Tue, 21 Apr 2020 17:05:30 +0200 (CEST) Received: from Internal Mail-Server by MTLPINE1 (envelope-from talshn@mellanox.com) with ESMTPS (AES256-SHA encrypted); 21 Apr 2020 18:05:29 +0300 Received: from l-wincomp04-vm.labs.mlnx (l-wincomp04-vm.mtl.labs.mlnx [10.237.1.5]) by labmailer.mlnx (8.13.8/8.13.8) with ESMTP id 03LF5Tr8007529; Tue, 21 Apr 2020 18:05:29 +0300 From: talshn@mellanox.com To: dev@dpdk.org Cc: thomas@monjalon.net, Tal Shnaiderman Date: Tue, 21 Apr 2020 18:05:20 +0300 Message-Id: <20200421150520.18840-1-talshn@mellanox.com> X-Mailer: git-send-email 2.16.1.windows.4 Subject: [dpdk-dev] [PATCH] eal: fix Windows build X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" From: Tal Shnaiderman Windows headers pthread.h and fnmatch.h uses rte_common types The error is: error: unknown type name '__rte_unused' The fix adds the missing includes. Bugzilla ID: 458 Fixes: f2fc83b40f06 ("replace unused attributes") Signed-off-by: Tal Shnaiderman --- Depends-on: patch-68444 (eal/windows: do not expose private EAL facilities) --- lib/librte_eal/windows/include/fnmatch.h | 2 ++ lib/librte_eal/windows/include/pthread.h | 1 + 2 files changed, 3 insertions(+) diff --git a/lib/librte_eal/windows/include/fnmatch.h b/lib/librte_eal/windows/include/fnmatch.h index 41b574312..d0159f07a 100644 --- a/lib/librte_eal/windows/include/fnmatch.h +++ b/lib/librte_eal/windows/include/fnmatch.h @@ -14,6 +14,8 @@ extern "C" { #endif +#include + #define FNM_NOMATCH 1 /** diff --git a/lib/librte_eal/windows/include/pthread.h b/lib/librte_eal/windows/include/pthread.h index 7c0caaf07..0bbed5c3b 100644 --- a/lib/librte_eal/windows/include/pthread.h +++ b/lib/librte_eal/windows/include/pthread.h @@ -17,6 +17,7 @@ extern "C" { #endif #include +#include #define PTHREAD_BARRIER_SERIAL_THREAD TRUE -- 2.16.1.windows.4