From patchwork Tue Aug 15 09:59:53 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Github ODP bot X-Patchwork-Id: 110115 Delivered-To: patch@linaro.org Received: by 10.140.95.78 with SMTP id h72csp5465786qge; Tue, 15 Aug 2017 03:04:33 -0700 (PDT) X-Received: by 10.55.161.133 with SMTP id k127mr1253318qke.164.1502791473467; Tue, 15 Aug 2017 03:04:33 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1502791473; cv=none; d=google.com; s=arc-20160816; b=uYie2aii4RCixLn/EZYZXeVWTDbIoHS2VfvazZZ4anrcE9Rx0n31QpwBPSiL+qmz56 DSeVmkLH1cF7a7kJx0e9GhytB9QxyvUxtUa5Sg7q8wmY88DBouWlf0PCyg+e3JJFn544 0B7hM1ucUPiAJku4fCgPGcA1Bn/bgCmp73ui2sOFN/PuDIhoYzmfLxUwcfYyfbx5Svh4 dxX99JVvAUp38457DBE8pTaavjAeBcGt+VNUIsPB3SL3PcIR4Sq2R/L+jzNA+UQu/+gh bFfrzZR3FNFaQ7EGJFJWqN16u5r1VjJXfgPD38grsOeMB0oZOB4a8c9GLIL7lDL0yRjF FTiQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:subject:github-pr-num :references:in-reply-to:message-id:date:to:from:delivered-to :arc-authentication-results; bh=IF72evPDr7Em+frsfspTV5DwG6N4CHFb9uERGTa20lw=; b=S0pvTB9GO9g4JwIy55LsA/TjthymI+A3bAgVBKfhN5lWfYPw9ZLWARYbjxZbVhtSQ4 LdxA93REBqFqzWfJtG2C+yCFqs1lM78UHkiKeE52Z9VX6IX3b5NNOB70WLGZ8vWRh3Sn req0DSr6gRF3LcOUqsAfBgOPxwbWQRHUGyJfLdjufC0LjqpI9K7hqZBpgGJ8nyZ2FG/I FB7Z6fBP6jExDziADS3xVFxR/N/uwdIV951UvZzPUh+zXjG/z3Rgec9sWJ4XJW46Ke1T +zzj/BY51eplGLAYDqjmXxkagd8QQgpUK3WV4g0nqXp+U6KhAFtj26q7AyOTD6ji3pAJ wyVw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of lng-odp-bounces@lists.linaro.org designates 54.225.227.206 as permitted sender) smtp.mailfrom=lng-odp-bounces@lists.linaro.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=yandex.ru Return-Path: Received: from lists.linaro.org (lists.linaro.org. [54.225.227.206]) by mx.google.com with ESMTP id t44si8486742qtt.350.2017.08.15.03.04.32; Tue, 15 Aug 2017 03:04:33 -0700 (PDT) Received-SPF: pass (google.com: domain of lng-odp-bounces@lists.linaro.org designates 54.225.227.206 as permitted sender) client-ip=54.225.227.206; Authentication-Results: mx.google.com; spf=pass (google.com: domain of lng-odp-bounces@lists.linaro.org designates 54.225.227.206 as permitted sender) smtp.mailfrom=lng-odp-bounces@lists.linaro.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=yandex.ru Received: by lists.linaro.org (Postfix, from userid 109) id D7FD465C68; Tue, 15 Aug 2017 10:04:32 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on ip-10-142-244-252 X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,FREEMAIL_FROM, RCVD_IN_DNSWL_NONE,URIBL_BLOCKED autolearn=disabled version=3.4.0 Received: from [127.0.0.1] (localhost [127.0.0.1]) by lists.linaro.org (Postfix) with ESMTP id 026F760B15; Tue, 15 Aug 2017 10:00:55 +0000 (UTC) X-Original-To: lng-odp@lists.linaro.org Delivered-To: lng-odp@lists.linaro.org Received: by lists.linaro.org (Postfix, from userid 109) id EEE3065C3A; Tue, 15 Aug 2017 10:00:42 +0000 (UTC) Received: from forward101o.mail.yandex.net (forward101o.mail.yandex.net [37.140.190.181]) by lists.linaro.org (Postfix) with ESMTPS id C1C4E6449A for ; Tue, 15 Aug 2017 10:00:29 +0000 (UTC) Received: from mxback12g.mail.yandex.net (mxback12g.mail.yandex.net [IPv6:2a02:6b8:0:1472:2741:0:8b7:91]) by forward101o.mail.yandex.net (Yandex) with ESMTP id 6B53513426A6 for ; Tue, 15 Aug 2017 13:00:28 +0300 (MSK) Received: from smtp4o.mail.yandex.net (smtp4o.mail.yandex.net [2a02:6b8:0:1a2d::28]) by mxback12g.mail.yandex.net (nwsmtp/Yandex) with ESMTP id chvN4QG1IQ-0SlmasAq; Tue, 15 Aug 2017 13:00:28 +0300 Received: by smtp4o.mail.yandex.net (nwsmtp/Yandex) with ESMTPSA id fa5mS4tQKd-0RjeYjHl; Tue, 15 Aug 2017 13:00:27 +0300 (using TLSv1.2 with cipher ECDHE-RSA-AES128-SHA256 (128/128 bits)) (Client certificate not present) From: Github ODP bot To: lng-odp@lists.linaro.org Date: Tue, 15 Aug 2017 12:59:53 +0300 Message-Id: <1502791206-2437-4-git-send-email-odpbot@yandex.ru> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1502791206-2437-1-git-send-email-odpbot@yandex.ru> References: <1502791206-2437-1-git-send-email-odpbot@yandex.ru> Github-pr-num: 127 Subject: [lng-odp] [PATCH v2 3/16] linux-gen: enable using of config.h header X-BeenThere: lng-odp@lists.linaro.org X-Mailman-Version: 2.1.16 Precedence: list List-Id: "The OpenDataPlane \(ODP\) List" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: lng-odp-bounces@lists.linaro.org Sender: "lng-odp" From: Dmitry Eremin-Solenikov Signed-off-by: Dmitry Eremin-Solenikov --- /** Email created from pull request 127 (lumag:improve-build) ** https://github.com/Linaro/odp/pull/127 ** Patch: https://github.com/Linaro/odp/pull/127.patch ** Base sha: 90d4ce1b3b25ca18446131906007571cc0ed0191 ** Merge commit sha: 3e7a44d8f4b7c90183d3bd3b57bc812f16de030f **/ platform/linux-generic/_fdserver.c | 4 ++++ platform/linux-generic/_ishm.c | 4 ++++ platform/linux-generic/_ishmphy.c | 4 ++++ platform/linux-generic/arch/arm/odp_cpu_arch.c | 4 ++++ platform/linux-generic/arch/arm/odp_sysinfo_parse.c | 4 ++++ platform/linux-generic/arch/default/odp_cpu_arch.c | 4 ++++ platform/linux-generic/arch/default/odp_sysinfo_parse.c | 4 ++++ platform/linux-generic/arch/mips64/odp_cpu_arch.c | 4 ++++ platform/linux-generic/arch/mips64/odp_sysinfo_parse.c | 4 ++++ platform/linux-generic/arch/powerpc/odp_cpu_arch.c | 4 ++++ platform/linux-generic/arch/powerpc/odp_sysinfo_parse.c | 4 ++++ platform/linux-generic/arch/x86/cpu_flags.c | 4 ++++ platform/linux-generic/arch/x86/odp_cpu_arch.c | 4 ++++ platform/linux-generic/arch/x86/odp_sysinfo_parse.c | 4 ++++ platform/linux-generic/odp_atomic.c | 4 ++++ platform/linux-generic/odp_barrier.c | 4 ++++ platform/linux-generic/odp_bitmap.c | 4 ++++ platform/linux-generic/odp_buffer.c | 4 ++++ platform/linux-generic/odp_byteorder.c | 4 ++++ platform/linux-generic/odp_classification.c | 4 ++++ platform/linux-generic/odp_cpu.c | 4 ++++ platform/linux-generic/odp_cpumask.c | 4 ++++ platform/linux-generic/odp_cpumask_task.c | 4 ++++ platform/linux-generic/odp_crypto.c | 4 ++++ platform/linux-generic/odp_errno.c | 4 ++++ platform/linux-generic/odp_event.c | 4 ++++ platform/linux-generic/odp_hash.c | 4 ++++ platform/linux-generic/odp_impl.c | 4 ++++ platform/linux-generic/odp_init.c | 5 +++++ platform/linux-generic/odp_name_table.c | 4 ++++ platform/linux-generic/odp_packet.c | 4 ++++ platform/linux-generic/odp_packet_flags.c | 4 ++++ platform/linux-generic/odp_packet_io.c | 5 +++++ platform/linux-generic/odp_pkt_queue.c | 4 ++++ platform/linux-generic/odp_pool.c | 4 ++++ platform/linux-generic/odp_queue.c | 4 ++++ platform/linux-generic/odp_queue_if.c | 4 ++++ platform/linux-generic/odp_rwlock.c | 4 ++++ platform/linux-generic/odp_rwlock_recursive.c | 4 ++++ platform/linux-generic/odp_schedule.c | 4 ++++ platform/linux-generic/odp_schedule_if.c | 4 ++++ platform/linux-generic/odp_schedule_iquery.c | 4 ++++ platform/linux-generic/odp_schedule_sp.c | 4 ++++ platform/linux-generic/odp_shared_memory.c | 4 ++++ platform/linux-generic/odp_sorted_list.c | 4 ++++ platform/linux-generic/odp_spinlock.c | 4 ++++ platform/linux-generic/odp_spinlock_recursive.c | 4 ++++ platform/linux-generic/odp_std_clib.c | 4 ++++ platform/linux-generic/odp_sync.c | 4 ++++ platform/linux-generic/odp_system_info.c | 4 ++++ platform/linux-generic/odp_thread.c | 4 ++++ platform/linux-generic/odp_thrmask.c | 4 ++++ platform/linux-generic/odp_ticketlock.c | 4 ++++ platform/linux-generic/odp_time.c | 4 ++++ platform/linux-generic/odp_timer.c | 4 ++++ platform/linux-generic/odp_timer_wheel.c | 4 ++++ platform/linux-generic/odp_traffic_mngr.c | 4 ++++ platform/linux-generic/odp_version.c | 4 ++++ platform/linux-generic/odp_weak.c | 4 ++++ platform/linux-generic/pktio/dpdk.c | 4 ++++ platform/linux-generic/pktio/ethtool.c | 4 ++++ platform/linux-generic/pktio/io_ops.c | 4 ++++ platform/linux-generic/pktio/ipc.c | 5 +++++ platform/linux-generic/pktio/loop.c | 4 ++++ platform/linux-generic/pktio/netmap.c | 4 ++++ platform/linux-generic/pktio/pcap.c | 4 ++++ platform/linux-generic/pktio/pktio_common.c | 4 ++++ platform/linux-generic/pktio/ring.c | 4 ++++ platform/linux-generic/pktio/socket.c | 4 ++++ platform/linux-generic/pktio/socket_mmap.c | 4 ++++ platform/linux-generic/pktio/sysfs.c | 4 ++++ platform/linux-generic/pktio/tap.c | 4 ++++ 72 files changed, 291 insertions(+) diff --git a/platform/linux-generic/_fdserver.c b/platform/linux-generic/_fdserver.c index d1b16f62..a31a47f5 100644 --- a/platform/linux-generic/_fdserver.c +++ b/platform/linux-generic/_fdserver.c @@ -4,6 +4,10 @@ * SPDX-License-Identifier: BSD-3-Clause */ +#ifdef HAVE_CONFIG_H +#include "config.h" +#endif + /* * This file implements a file descriptor sharing server enabling * sharing of file descriptors between processes, regardless of fork time. diff --git a/platform/linux-generic/_ishm.c b/platform/linux-generic/_ishm.c index 892e889b..5f63c758 100644 --- a/platform/linux-generic/_ishm.c +++ b/platform/linux-generic/_ishm.c @@ -4,6 +4,10 @@ * SPDX-License-Identifier: BSD-3-Clause */ +#ifdef HAVE_CONFIG_H +#include "config.h" +#endif + /* This file handles the internal shared memory: internal shared memory * is memory which is sharable by all ODP threads regardless of how the * ODP thread is implemented (pthread or process) and regardless of fork() diff --git a/platform/linux-generic/_ishmphy.c b/platform/linux-generic/_ishmphy.c index d519af60..a61d311f 100644 --- a/platform/linux-generic/_ishmphy.c +++ b/platform/linux-generic/_ishmphy.c @@ -4,6 +4,10 @@ * SPDX-License-Identifier: BSD-3-Clause */ +#ifdef HAVE_CONFIG_H +#include "config.h" +#endif + /* * This file handles the lower end of the ishm memory allocator: * It performs the physical mappings. diff --git a/platform/linux-generic/arch/arm/odp_cpu_arch.c b/platform/linux-generic/arch/arm/odp_cpu_arch.c index 28ee508b..205eaaa0 100644 --- a/platform/linux-generic/arch/arm/odp_cpu_arch.c +++ b/platform/linux-generic/arch/arm/odp_cpu_arch.c @@ -4,6 +4,10 @@ * SPDX-License-Identifier: BSD-3-Clause */ +#ifdef HAVE_CONFIG_H +#include "config.h" +#endif + #include #include diff --git a/platform/linux-generic/arch/arm/odp_sysinfo_parse.c b/platform/linux-generic/arch/arm/odp_sysinfo_parse.c index 8ae2022a..591030e4 100644 --- a/platform/linux-generic/arch/arm/odp_sysinfo_parse.c +++ b/platform/linux-generic/arch/arm/odp_sysinfo_parse.c @@ -4,6 +4,10 @@ * SPDX-License-Identifier: BSD-3-Clause */ +#ifdef HAVE_CONFIG_H +#include "config.h" +#endif + #include #include #include diff --git a/platform/linux-generic/arch/default/odp_cpu_arch.c b/platform/linux-generic/arch/default/odp_cpu_arch.c index c31f9084..45719af8 100644 --- a/platform/linux-generic/arch/default/odp_cpu_arch.c +++ b/platform/linux-generic/arch/default/odp_cpu_arch.c @@ -4,6 +4,10 @@ * SPDX-License-Identifier: BSD-3-Clause */ +#ifdef HAVE_CONFIG_H +#include "config.h" +#endif + #include #include diff --git a/platform/linux-generic/arch/default/odp_sysinfo_parse.c b/platform/linux-generic/arch/default/odp_sysinfo_parse.c index 8ae2022a..591030e4 100644 --- a/platform/linux-generic/arch/default/odp_sysinfo_parse.c +++ b/platform/linux-generic/arch/default/odp_sysinfo_parse.c @@ -4,6 +4,10 @@ * SPDX-License-Identifier: BSD-3-Clause */ +#ifdef HAVE_CONFIG_H +#include "config.h" +#endif + #include #include #include diff --git a/platform/linux-generic/arch/mips64/odp_cpu_arch.c b/platform/linux-generic/arch/mips64/odp_cpu_arch.c index f7eafa0f..047731aa 100644 --- a/platform/linux-generic/arch/mips64/odp_cpu_arch.c +++ b/platform/linux-generic/arch/mips64/odp_cpu_arch.c @@ -4,6 +4,10 @@ * SPDX-License-Identifier: BSD-3-Clause */ +#ifdef HAVE_CONFIG_H +#include "config.h" +#endif + #include #include #include diff --git a/platform/linux-generic/arch/mips64/odp_sysinfo_parse.c b/platform/linux-generic/arch/mips64/odp_sysinfo_parse.c index d6f75f28..971ccad6 100644 --- a/platform/linux-generic/arch/mips64/odp_sysinfo_parse.c +++ b/platform/linux-generic/arch/mips64/odp_sysinfo_parse.c @@ -4,6 +4,10 @@ * SPDX-License-Identifier: BSD-3-Clause */ +#ifdef HAVE_CONFIG_H +#include "config.h" +#endif + #include #include diff --git a/platform/linux-generic/arch/powerpc/odp_cpu_arch.c b/platform/linux-generic/arch/powerpc/odp_cpu_arch.c index c31f9084..45719af8 100644 --- a/platform/linux-generic/arch/powerpc/odp_cpu_arch.c +++ b/platform/linux-generic/arch/powerpc/odp_cpu_arch.c @@ -4,6 +4,10 @@ * SPDX-License-Identifier: BSD-3-Clause */ +#ifdef HAVE_CONFIG_H +#include "config.h" +#endif + #include #include diff --git a/platform/linux-generic/arch/powerpc/odp_sysinfo_parse.c b/platform/linux-generic/arch/powerpc/odp_sysinfo_parse.c index bd4b9b42..0e4cad69 100644 --- a/platform/linux-generic/arch/powerpc/odp_sysinfo_parse.c +++ b/platform/linux-generic/arch/powerpc/odp_sysinfo_parse.c @@ -4,6 +4,10 @@ * SPDX-License-Identifier: BSD-3-Clause */ +#ifdef HAVE_CONFIG_H +#include "config.h" +#endif + #include #include diff --git a/platform/linux-generic/arch/x86/cpu_flags.c b/platform/linux-generic/arch/x86/cpu_flags.c index a492a35b..a757e533 100644 --- a/platform/linux-generic/arch/x86/cpu_flags.c +++ b/platform/linux-generic/arch/x86/cpu_flags.c @@ -4,6 +4,10 @@ * SPDX-License-Identifier: BSD-3-Clause */ +#ifdef HAVE_CONFIG_H +#include "config.h" +#endif + /*- * BSD LICENSE * diff --git a/platform/linux-generic/arch/x86/odp_cpu_arch.c b/platform/linux-generic/arch/x86/odp_cpu_arch.c index b1da428b..467e6bf6 100644 --- a/platform/linux-generic/arch/x86/odp_cpu_arch.c +++ b/platform/linux-generic/arch/x86/odp_cpu_arch.c @@ -4,6 +4,10 @@ * SPDX-License-Identifier: BSD-3-Clause */ +#ifdef HAVE_CONFIG_H +#include "config.h" +#endif + #include #include diff --git a/platform/linux-generic/arch/x86/odp_sysinfo_parse.c b/platform/linux-generic/arch/x86/odp_sysinfo_parse.c index d77165a4..594edd23 100644 --- a/platform/linux-generic/arch/x86/odp_sysinfo_parse.c +++ b/platform/linux-generic/arch/x86/odp_sysinfo_parse.c @@ -4,6 +4,10 @@ * SPDX-License-Identifier: BSD-3-Clause */ +#ifdef HAVE_CONFIG_H +#include "config.h" +#endif + #include #include #include diff --git a/platform/linux-generic/odp_atomic.c b/platform/linux-generic/odp_atomic.c index 0e40cda5..460aa8ce 100644 --- a/platform/linux-generic/odp_atomic.c +++ b/platform/linux-generic/odp_atomic.c @@ -4,6 +4,10 @@ * SPDX-License-Identifier: BSD-3-Clause */ +#ifdef HAVE_CONFIG_H +#include "config.h" +#endif + #include #if ODP_ABI_COMPAT == 1 #include diff --git a/platform/linux-generic/odp_barrier.c b/platform/linux-generic/odp_barrier.c index a2c62676..9a0ff30b 100644 --- a/platform/linux-generic/odp_barrier.c +++ b/platform/linux-generic/odp_barrier.c @@ -4,6 +4,10 @@ * SPDX-License-Identifier: BSD-3-Clause */ +#ifdef HAVE_CONFIG_H +#include "config.h" +#endif + #include #include #include diff --git a/platform/linux-generic/odp_bitmap.c b/platform/linux-generic/odp_bitmap.c index a29b9ef2..51418cb8 100644 --- a/platform/linux-generic/odp_bitmap.c +++ b/platform/linux-generic/odp_bitmap.c @@ -4,6 +4,10 @@ * SPDX-License-Identifier: BSD-3-Clause */ +#ifdef HAVE_CONFIG_H +#include "config.h" +#endif + #include #include #include diff --git a/platform/linux-generic/odp_buffer.c b/platform/linux-generic/odp_buffer.c index 9c7dc1f5..2917d5fc 100644 --- a/platform/linux-generic/odp_buffer.c +++ b/platform/linux-generic/odp_buffer.c @@ -4,6 +4,10 @@ * SPDX-License-Identifier: BSD-3-Clause */ +#ifdef HAVE_CONFIG_H +#include "config.h" +#endif + #include #include #include diff --git a/platform/linux-generic/odp_byteorder.c b/platform/linux-generic/odp_byteorder.c index a344c53f..3505d91d 100644 --- a/platform/linux-generic/odp_byteorder.c +++ b/platform/linux-generic/odp_byteorder.c @@ -4,6 +4,10 @@ * SPDX-License-Identifier: BSD-3-Clause */ +#ifdef HAVE_CONFIG_H +#include "config.h" +#endif + #include #if ODP_ABI_COMPAT == 1 #include diff --git a/platform/linux-generic/odp_classification.c b/platform/linux-generic/odp_classification.c index 5e9173dc..fb3693c1 100644 --- a/platform/linux-generic/odp_classification.c +++ b/platform/linux-generic/odp_classification.c @@ -4,6 +4,10 @@ * SPDX-License-Identifier: BSD-3-Clause */ +#ifdef HAVE_CONFIG_H +#include "config.h" +#endif + #include #include #include diff --git a/platform/linux-generic/odp_cpu.c b/platform/linux-generic/odp_cpu.c index 282defd4..3c6ce9f1 100644 --- a/platform/linux-generic/odp_cpu.c +++ b/platform/linux-generic/odp_cpu.c @@ -4,6 +4,10 @@ * SPDX-License-Identifier: BSD-3-Clause */ +#ifdef HAVE_CONFIG_H +#include "config.h" +#endif + #include #include diff --git a/platform/linux-generic/odp_cpumask.c b/platform/linux-generic/odp_cpumask.c index 64559a6d..9bfb9874 100644 --- a/platform/linux-generic/odp_cpumask.c +++ b/platform/linux-generic/odp_cpumask.c @@ -4,6 +4,10 @@ * SPDX-License-Identifier: BSD-3-Clause */ +#ifdef HAVE_CONFIG_H +#include "config.h" +#endif + #include #include diff --git a/platform/linux-generic/odp_cpumask_task.c b/platform/linux-generic/odp_cpumask_task.c index 10885ce6..0a71ca2a 100644 --- a/platform/linux-generic/odp_cpumask_task.c +++ b/platform/linux-generic/odp_cpumask_task.c @@ -4,6 +4,10 @@ * SPDX-License-Identifier: BSD-3-Clause */ +#ifdef HAVE_CONFIG_H +#include "config.h" +#endif + #include #include diff --git a/platform/linux-generic/odp_crypto.c b/platform/linux-generic/odp_crypto.c index ab42132a..9c67cddf 100644 --- a/platform/linux-generic/odp_crypto.c +++ b/platform/linux-generic/odp_crypto.c @@ -4,6 +4,10 @@ * SPDX-License-Identifier: BSD-3-Clause */ +#ifdef HAVE_CONFIG_H +#include "config.h" +#endif + #include #include #include diff --git a/platform/linux-generic/odp_errno.c b/platform/linux-generic/odp_errno.c index 408a4b95..456881b2 100644 --- a/platform/linux-generic/odp_errno.c +++ b/platform/linux-generic/odp_errno.c @@ -4,6 +4,10 @@ * SPDX-License-Identifier: BSD-3-Clause */ +#ifdef HAVE_CONFIG_H +#include "config.h" +#endif + #include #include #include diff --git a/platform/linux-generic/odp_event.c b/platform/linux-generic/odp_event.c index d71f4464..df45e5d6 100644 --- a/platform/linux-generic/odp_event.c +++ b/platform/linux-generic/odp_event.c @@ -4,6 +4,10 @@ * SPDX-License-Identifier: BSD-3-Clause */ +#ifdef HAVE_CONFIG_H +#include "config.h" +#endif + #include #include #include diff --git a/platform/linux-generic/odp_hash.c b/platform/linux-generic/odp_hash.c index 55876c33..bdd3ef4a 100644 --- a/platform/linux-generic/odp_hash.c +++ b/platform/linux-generic/odp_hash.c @@ -4,6 +4,10 @@ * SPDX-License-Identifier: BSD-3-Clause */ +#ifdef HAVE_CONFIG_H +#include "config.h" +#endif + /*- * BSD LICENSE * diff --git a/platform/linux-generic/odp_impl.c b/platform/linux-generic/odp_impl.c index 3fc2d6ab..45c7c66a 100644 --- a/platform/linux-generic/odp_impl.c +++ b/platform/linux-generic/odp_impl.c @@ -4,6 +4,10 @@ * SPDX-License-Identifier: BSD-3-Clause */ +#ifdef HAVE_CONFIG_H +#include "config.h" +#endif + /** * @file diff --git a/platform/linux-generic/odp_init.c b/platform/linux-generic/odp_init.c index 7d029950..bcdb58a4 100644 --- a/platform/linux-generic/odp_init.c +++ b/platform/linux-generic/odp_init.c @@ -3,6 +3,11 @@ * * SPDX-License-Identifier: BSD-3-Clause */ + +#ifdef HAVE_CONFIG_H +#include "config.h" +#endif + #include #include #include diff --git a/platform/linux-generic/odp_name_table.c b/platform/linux-generic/odp_name_table.c index b116904d..da075e79 100644 --- a/platform/linux-generic/odp_name_table.c +++ b/platform/linux-generic/odp_name_table.c @@ -6,6 +6,10 @@ * SPDX-License-Identifier: BSD-3-Clause */ +#ifdef HAVE_CONFIG_H +#include "config.h" +#endif + #include #include #include diff --git a/platform/linux-generic/odp_packet.c b/platform/linux-generic/odp_packet.c index f18bd4dd..2849b986 100644 --- a/platform/linux-generic/odp_packet.c +++ b/platform/linux-generic/odp_packet.c @@ -4,6 +4,10 @@ * SPDX-License-Identifier: BSD-3-Clause */ +#ifdef HAVE_CONFIG_H +#include "config.h" +#endif + #include #include #include diff --git a/platform/linux-generic/odp_packet_flags.c b/platform/linux-generic/odp_packet_flags.c index 72df1ecf..17864862 100644 --- a/platform/linux-generic/odp_packet_flags.c +++ b/platform/linux-generic/odp_packet_flags.c @@ -4,6 +4,10 @@ * SPDX-License-Identifier: BSD-3-Clause */ +#ifdef HAVE_CONFIG_H +#include "config.h" +#endif + #include #include #include diff --git a/platform/linux-generic/odp_packet_io.c b/platform/linux-generic/odp_packet_io.c index 9419adf6..4a64cd9b 100644 --- a/platform/linux-generic/odp_packet_io.c +++ b/platform/linux-generic/odp_packet_io.c @@ -3,6 +3,11 @@ * * SPDX-License-Identifier: BSD-3-Clause */ + +#ifdef HAVE_CONFIG_H +#include "config.h" +#endif + #include #include diff --git a/platform/linux-generic/odp_pkt_queue.c b/platform/linux-generic/odp_pkt_queue.c index f1086096..494adb65 100644 --- a/platform/linux-generic/odp_pkt_queue.c +++ b/platform/linux-generic/odp_pkt_queue.c @@ -6,6 +6,10 @@ * SPDX-License-Identifier: BSD-3-Clause */ +#ifdef HAVE_CONFIG_H +#include "config.h" +#endif + #include #include #include diff --git a/platform/linux-generic/odp_pool.c b/platform/linux-generic/odp_pool.c index 35e39f5d..109e903f 100644 --- a/platform/linux-generic/odp_pool.c +++ b/platform/linux-generic/odp_pool.c @@ -4,6 +4,10 @@ * SPDX-License-Identifier: BSD-3-Clause */ +#ifdef HAVE_CONFIG_H +#include "config.h" +#endif + #include #include #include diff --git a/platform/linux-generic/odp_queue.c b/platform/linux-generic/odp_queue.c index 7ad346ad..694061bb 100644 --- a/platform/linux-generic/odp_queue.c +++ b/platform/linux-generic/odp_queue.c @@ -4,6 +4,10 @@ * SPDX-License-Identifier: BSD-3-Clause */ +#ifdef HAVE_CONFIG_H +#include "config.h" +#endif + #include #include #include diff --git a/platform/linux-generic/odp_queue_if.c b/platform/linux-generic/odp_queue_if.c index c91f00eb..13c2a0aa 100644 --- a/platform/linux-generic/odp_queue_if.c +++ b/platform/linux-generic/odp_queue_if.c @@ -4,6 +4,10 @@ * SPDX-License-Identifier: BSD-3-Clause */ +#ifdef HAVE_CONFIG_H +#include "config.h" +#endif + #include extern const queue_api_t queue_default_api; diff --git a/platform/linux-generic/odp_rwlock.c b/platform/linux-generic/odp_rwlock.c index 5bef13a4..33ff5133 100644 --- a/platform/linux-generic/odp_rwlock.c +++ b/platform/linux-generic/odp_rwlock.c @@ -4,6 +4,10 @@ * SPDX-License-Identifier: BSD-3-Clause */ +#ifdef HAVE_CONFIG_H +#include "config.h" +#endif + #include #include #include diff --git a/platform/linux-generic/odp_rwlock_recursive.c b/platform/linux-generic/odp_rwlock_recursive.c index 6b022814..337bdd79 100644 --- a/platform/linux-generic/odp_rwlock_recursive.c +++ b/platform/linux-generic/odp_rwlock_recursive.c @@ -4,6 +4,10 @@ * SPDX-License-Identifier: BSD-3-Clause */ +#ifdef HAVE_CONFIG_H +#include "config.h" +#endif + #include #include #include diff --git a/platform/linux-generic/odp_schedule.c b/platform/linux-generic/odp_schedule.c index 79b21ac7..b9e723d0 100644 --- a/platform/linux-generic/odp_schedule.c +++ b/platform/linux-generic/odp_schedule.c @@ -4,6 +4,10 @@ * SPDX-License-Identifier: BSD-3-Clause */ +#ifdef HAVE_CONFIG_H +#include "config.h" +#endif + #include #include #include diff --git a/platform/linux-generic/odp_schedule_if.c b/platform/linux-generic/odp_schedule_if.c index a9ede98d..a9d0840e 100644 --- a/platform/linux-generic/odp_schedule_if.c +++ b/platform/linux-generic/odp_schedule_if.c @@ -4,6 +4,10 @@ * SPDX-License-Identifier: BSD-3-Clause */ +#ifdef HAVE_CONFIG_H +#include "config.h" +#endif + #include extern const schedule_fn_t schedule_sp_fn; diff --git a/platform/linux-generic/odp_schedule_iquery.c b/platform/linux-generic/odp_schedule_iquery.c index c38c7c01..ce337ddb 100644 --- a/platform/linux-generic/odp_schedule_iquery.c +++ b/platform/linux-generic/odp_schedule_iquery.c @@ -4,6 +4,10 @@ * SPDX-License-Identifier: BSD-3-Clause */ +#ifdef HAVE_CONFIG_H +#include "config.h" +#endif + #include #include #include diff --git a/platform/linux-generic/odp_schedule_sp.c b/platform/linux-generic/odp_schedule_sp.c index d2ba539c..63315ebf 100644 --- a/platform/linux-generic/odp_schedule_sp.c +++ b/platform/linux-generic/odp_schedule_sp.c @@ -4,6 +4,10 @@ * SPDX-License-Identifier: BSD-3-Clause */ +#ifdef HAVE_CONFIG_H +#include "config.h" +#endif + #include #include #include diff --git a/platform/linux-generic/odp_shared_memory.c b/platform/linux-generic/odp_shared_memory.c index a6faff6e..3f0fb830 100644 --- a/platform/linux-generic/odp_shared_memory.c +++ b/platform/linux-generic/odp_shared_memory.c @@ -4,6 +4,10 @@ * SPDX-License-Identifier: BSD-3-Clause */ +#ifdef HAVE_CONFIG_H +#include "config.h" +#endif + #include #include #include diff --git a/platform/linux-generic/odp_sorted_list.c b/platform/linux-generic/odp_sorted_list.c index 8a1dc3ac..8d10369b 100644 --- a/platform/linux-generic/odp_sorted_list.c +++ b/platform/linux-generic/odp_sorted_list.c @@ -6,6 +6,10 @@ * SPDX-License-Identifier: BSD-3-Clause */ +#ifdef HAVE_CONFIG_H +#include "config.h" +#endif + #include #include #include diff --git a/platform/linux-generic/odp_spinlock.c b/platform/linux-generic/odp_spinlock.c index cb0f0533..d051a14b 100644 --- a/platform/linux-generic/odp_spinlock.c +++ b/platform/linux-generic/odp_spinlock.c @@ -4,6 +4,10 @@ * SPDX-License-Identifier: BSD-3-Clause */ +#ifdef HAVE_CONFIG_H +#include "config.h" +#endif + #include #include #include diff --git a/platform/linux-generic/odp_spinlock_recursive.c b/platform/linux-generic/odp_spinlock_recursive.c index 5ed481c4..72b5f04a 100644 --- a/platform/linux-generic/odp_spinlock_recursive.c +++ b/platform/linux-generic/odp_spinlock_recursive.c @@ -4,6 +4,10 @@ * SPDX-License-Identifier: BSD-3-Clause */ +#ifdef HAVE_CONFIG_H +#include "config.h" +#endif + #include #include diff --git a/platform/linux-generic/odp_std_clib.c b/platform/linux-generic/odp_std_clib.c index 24df249d..305c00e7 100644 --- a/platform/linux-generic/odp_std_clib.c +++ b/platform/linux-generic/odp_std_clib.c @@ -4,6 +4,10 @@ * SPDX-License-Identifier: BSD-3-Clause */ +#ifdef HAVE_CONFIG_H +#include "config.h" +#endif + #include #if ODP_ABI_COMPAT == 1 #include diff --git a/platform/linux-generic/odp_sync.c b/platform/linux-generic/odp_sync.c index b7eb503c..f1425f87 100644 --- a/platform/linux-generic/odp_sync.c +++ b/platform/linux-generic/odp_sync.c @@ -4,6 +4,10 @@ * SPDX-License-Identifier: BSD-3-Clause */ +#ifdef HAVE_CONFIG_H +#include "config.h" +#endif + #include #if ODP_ABI_COMPAT == 1 #include diff --git a/platform/linux-generic/odp_system_info.c b/platform/linux-generic/odp_system_info.c index 40ffca07..8b658d3b 100644 --- a/platform/linux-generic/odp_system_info.c +++ b/platform/linux-generic/odp_system_info.c @@ -4,6 +4,10 @@ * SPDX-License-Identifier: BSD-3-Clause */ +#ifdef HAVE_CONFIG_H +#include "config.h" +#endif + /* * BSD LICENSE * diff --git a/platform/linux-generic/odp_thread.c b/platform/linux-generic/odp_thread.c index 33a8a7f3..c0046044 100644 --- a/platform/linux-generic/odp_thread.c +++ b/platform/linux-generic/odp_thread.c @@ -4,6 +4,10 @@ * SPDX-License-Identifier: BSD-3-Clause */ +#ifdef HAVE_CONFIG_H +#include "config.h" +#endif + #include #include diff --git a/platform/linux-generic/odp_thrmask.c b/platform/linux-generic/odp_thrmask.c index c176a5c6..5d98086d 100644 --- a/platform/linux-generic/odp_thrmask.c +++ b/platform/linux-generic/odp_thrmask.c @@ -4,6 +4,10 @@ * SPDX-License-Identifier: BSD-3-Clause */ +#ifdef HAVE_CONFIG_H +#include "config.h" +#endif + #include #include diff --git a/platform/linux-generic/odp_ticketlock.c b/platform/linux-generic/odp_ticketlock.c index f73dd9ab..94c2beff 100644 --- a/platform/linux-generic/odp_ticketlock.c +++ b/platform/linux-generic/odp_ticketlock.c @@ -4,6 +4,10 @@ * SPDX-License-Identifier: BSD-3-Clause */ +#ifdef HAVE_CONFIG_H +#include "config.h" +#endif + #include #include diff --git a/platform/linux-generic/odp_time.c b/platform/linux-generic/odp_time.c index a831cc51..a15d43d4 100644 --- a/platform/linux-generic/odp_time.c +++ b/platform/linux-generic/odp_time.c @@ -4,6 +4,10 @@ * SPDX-License-Identifier: BSD-3-Clause */ +#ifdef HAVE_CONFIG_H +#include "config.h" +#endif + #include #include diff --git a/platform/linux-generic/odp_timer.c b/platform/linux-generic/odp_timer.c index cf610bfa..bd54ef52 100644 --- a/platform/linux-generic/odp_timer.c +++ b/platform/linux-generic/odp_timer.c @@ -4,6 +4,10 @@ * SPDX-License-Identifier: BSD-3-Clause */ +#ifdef HAVE_CONFIG_H +#include "config.h" +#endif + /** * @file * diff --git a/platform/linux-generic/odp_timer_wheel.c b/platform/linux-generic/odp_timer_wheel.c index f2c802a8..1294720a 100644 --- a/platform/linux-generic/odp_timer_wheel.c +++ b/platform/linux-generic/odp_timer_wheel.c @@ -6,6 +6,10 @@ * SPDX-License-Identifier: BSD-3-Clause */ +#ifdef HAVE_CONFIG_H +#include "config.h" +#endif + #include #include #include diff --git a/platform/linux-generic/odp_traffic_mngr.c b/platform/linux-generic/odp_traffic_mngr.c index 53e10471..21f131f8 100644 --- a/platform/linux-generic/odp_traffic_mngr.c +++ b/platform/linux-generic/odp_traffic_mngr.c @@ -6,6 +6,10 @@ * SPDX-License-Identifier: BSD-3-Clause */ +#ifdef HAVE_CONFIG_H +#include "config.h" +#endif + #define _GNU_SOURCE #include #include diff --git a/platform/linux-generic/odp_version.c b/platform/linux-generic/odp_version.c index 7b704d05..ad21fe82 100644 --- a/platform/linux-generic/odp_version.c +++ b/platform/linux-generic/odp_version.c @@ -4,6 +4,10 @@ * SPDX-License-Identifier: BSD-3-Clause */ +#ifdef HAVE_CONFIG_H +#include "config.h" +#endif + #include const char *odp_version_api_str(void) diff --git a/platform/linux-generic/odp_weak.c b/platform/linux-generic/odp_weak.c index 0fbf6645..7bdbf45a 100644 --- a/platform/linux-generic/odp_weak.c +++ b/platform/linux-generic/odp_weak.c @@ -4,6 +4,10 @@ * SPDX-License-Identifier: BSD-3-Clause */ +#ifdef HAVE_CONFIG_H +#include "config.h" +#endif + #include #include #include diff --git a/platform/linux-generic/pktio/dpdk.c b/platform/linux-generic/pktio/dpdk.c index 19310651..cdfdd8f7 100644 --- a/platform/linux-generic/pktio/dpdk.c +++ b/platform/linux-generic/pktio/dpdk.c @@ -4,6 +4,10 @@ * SPDX-License-Identifier: BSD-3-Clause */ +#ifdef HAVE_CONFIG_H +#include "config.h" +#endif + #ifdef ODP_PKTIO_DPDK #include diff --git a/platform/linux-generic/pktio/ethtool.c b/platform/linux-generic/pktio/ethtool.c index 482af5b6..2f796745 100644 --- a/platform/linux-generic/pktio/ethtool.c +++ b/platform/linux-generic/pktio/ethtool.c @@ -4,6 +4,10 @@ * SPDX-License-Identifier: BSD-3-Clause */ +#ifdef HAVE_CONFIG_H +#include "config.h" +#endif + #include #include #include diff --git a/platform/linux-generic/pktio/io_ops.c b/platform/linux-generic/pktio/io_ops.c index fbf30ca7..a3a00678 100644 --- a/platform/linux-generic/pktio/io_ops.c +++ b/platform/linux-generic/pktio/io_ops.c @@ -4,6 +4,10 @@ * SPDX-License-Identifier: BSD-3-Clause */ +#ifdef HAVE_CONFIG_H +#include "config.h" +#endif + #include /* Ops for all implementation of pktio. diff --git a/platform/linux-generic/pktio/ipc.c b/platform/linux-generic/pktio/ipc.c index 8c7db84e..bbe1f9ff 100644 --- a/platform/linux-generic/pktio/ipc.c +++ b/platform/linux-generic/pktio/ipc.c @@ -3,6 +3,11 @@ * * SPDX-License-Identifier: BSD-3-Clause */ + +#ifdef HAVE_CONFIG_H +#include "config.h" +#endif + #include #include #include diff --git a/platform/linux-generic/pktio/loop.c b/platform/linux-generic/pktio/loop.c index c825393a..cd57d6eb 100644 --- a/platform/linux-generic/pktio/loop.c +++ b/platform/linux-generic/pktio/loop.c @@ -5,6 +5,10 @@ * SPDX-License-Identifier: BSD-3-Clause */ +#ifdef HAVE_CONFIG_H +#include "config.h" +#endif + #include #include #include diff --git a/platform/linux-generic/pktio/netmap.c b/platform/linux-generic/pktio/netmap.c index 928bb00a..5b861dfc 100644 --- a/platform/linux-generic/pktio/netmap.c +++ b/platform/linux-generic/pktio/netmap.c @@ -4,6 +4,10 @@ * SPDX-License-Identifier: BSD-3-Clause */ +#ifdef HAVE_CONFIG_H +#include "config.h" +#endif + #ifdef ODP_NETMAP #include diff --git a/platform/linux-generic/pktio/pcap.c b/platform/linux-generic/pktio/pcap.c index a467b640..b84dad3b 100644 --- a/platform/linux-generic/pktio/pcap.c +++ b/platform/linux-generic/pktio/pcap.c @@ -4,6 +4,10 @@ * SPDX-License-Identifier: BSD-3-Clause */ +#ifdef HAVE_CONFIG_H +#include "config.h" +#endif + /** * @file * diff --git a/platform/linux-generic/pktio/pktio_common.c b/platform/linux-generic/pktio/pktio_common.c index 611bb451..a1569c84 100644 --- a/platform/linux-generic/pktio/pktio_common.c +++ b/platform/linux-generic/pktio/pktio_common.c @@ -5,6 +5,10 @@ * SPDX-License-Identifier: BSD-3-Clause */ +#ifdef HAVE_CONFIG_H +#include "config.h" +#endif + #include #include #include diff --git a/platform/linux-generic/pktio/ring.c b/platform/linux-generic/pktio/ring.c index e3c73d1c..844b1c6e 100644 --- a/platform/linux-generic/pktio/ring.c +++ b/platform/linux-generic/pktio/ring.c @@ -4,6 +4,10 @@ * SPDX-License-Identifier: BSD-3-Clause */ +#ifdef HAVE_CONFIG_H +#include "config.h" +#endif + /*- * BSD LICENSE * diff --git a/platform/linux-generic/pktio/socket.c b/platform/linux-generic/pktio/socket.c index a383adc6..d87f2d4f 100644 --- a/platform/linux-generic/pktio/socket.c +++ b/platform/linux-generic/pktio/socket.c @@ -5,6 +5,10 @@ * SPDX-License-Identifier: BSD-3-Clause */ +#ifdef HAVE_CONFIG_H +#include "config.h" +#endif + #include #include diff --git a/platform/linux-generic/pktio/socket_mmap.c b/platform/linux-generic/pktio/socket_mmap.c index 6fc4b4cc..6229706c 100644 --- a/platform/linux-generic/pktio/socket_mmap.c +++ b/platform/linux-generic/pktio/socket_mmap.c @@ -5,6 +5,10 @@ * SPDX-License-Identifier: BSD-3-Clause */ +#ifdef HAVE_CONFIG_H +#include "config.h" +#endif + #include #include diff --git a/platform/linux-generic/pktio/sysfs.c b/platform/linux-generic/pktio/sysfs.c index be0822dd..1ece177f 100644 --- a/platform/linux-generic/pktio/sysfs.c +++ b/platform/linux-generic/pktio/sysfs.c @@ -4,6 +4,10 @@ * SPDX-License-Identifier: BSD-3-Clause */ +#ifdef HAVE_CONFIG_H +#include "config.h" +#endif + #include #include #include diff --git a/platform/linux-generic/pktio/tap.c b/platform/linux-generic/pktio/tap.c index 650c12a7..c2bea69f 100644 --- a/platform/linux-generic/pktio/tap.c +++ b/platform/linux-generic/pktio/tap.c @@ -4,6 +4,10 @@ * SPDX-License-Identifier: BSD-3-Clause */ +#ifdef HAVE_CONFIG_H +#include "config.h" +#endif + /** * @file *