From patchwork Wed Apr 23 09:53:51 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Taras Kondratiuk X-Patchwork-Id: 28857 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-yk0-f199.google.com (mail-yk0-f199.google.com [209.85.160.199]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id E49F920534 for ; Wed, 23 Apr 2014 09:54:27 +0000 (UTC) Received: by mail-yk0-f199.google.com with SMTP id 200sf1767177ykr.6 for ; Wed, 23 Apr 2014 02:54:27 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:delivered-to:from:to:date:message-id:in-reply-to :references:subject:precedence:list-id:list-unsubscribe:list-archive :list-post:list-help:list-subscribe:mime-version:errors-to:sender :x-original-sender:x-original-authentication-results:mailing-list :content-type:content-transfer-encoding; bh=sorT1Xyl9wXxI/jhBQVcfDJG0nQ+i84Vo3ao/gM4QIg=; b=GSv5gKCv4ZvlfyF6lA2qRwwZn5IsivTF30uE7+1ritXSf738woBKNpVZyuFfIQ5JOK bARdNq49Rgr+xg3IGF6fUqc+4uonJD4g6nwiZ4AAGHMLQ06TFna60VqDawtB5Kos0BlT 2G74xRLpNjij6gIn6qItT0O8BxIYMx0ZyN8CUFt1Deha4u7o+XJUSBUP0YPwBqUO4ZMb 90TeXeJfgJzuZknnVuM6CDutyHeHWXDwH8X/MoM5RdcRwnrWO2hnGTc5Us030s8VRPmN bXLs0V2EhqUO4G/ThpPPYKLXlcn+HL/2IjgTn4Pvn96VCdNbTQ5LGSBHuGLJMhSc49wu 8z7Q== X-Gm-Message-State: ALoCoQlSRVJX7PflrC4lcCR45hHHdy0rSxczIoMm9nBZrRLDhzwBJUjD1ReDb2tB9+pThos/MgI4 X-Received: by 10.224.95.9 with SMTP id b9mr23324045qan.2.1398246867695; Wed, 23 Apr 2014 02:54:27 -0700 (PDT) X-BeenThere: patchwork-forward@linaro.org Received: by 10.140.84.103 with SMTP id k94ls554783qgd.30.gmail; Wed, 23 Apr 2014 02:54:27 -0700 (PDT) X-Received: by 10.220.59.65 with SMTP id k1mr13513086vch.22.1398246867557; Wed, 23 Apr 2014 02:54:27 -0700 (PDT) Received: from mail-vc0-f173.google.com (mail-vc0-f173.google.com [209.85.220.173]) by mx.google.com with ESMTPS id kp12si76358veb.66.2014.04.23.02.54.27 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Wed, 23 Apr 2014 02:54:27 -0700 (PDT) Received-SPF: none (google.com: patch+caf_=patchwork-forward=linaro.org@linaro.org does not designate permitted sender hosts) client-ip=209.85.220.173; Received: by mail-vc0-f173.google.com with SMTP id il7so829851vcb.4 for ; Wed, 23 Apr 2014 02:54:27 -0700 (PDT) X-Received: by 10.58.31.136 with SMTP id a8mr42007107vei.20.1398246867489; Wed, 23 Apr 2014 02:54:27 -0700 (PDT) X-Forwarded-To: patchwork-forward@linaro.org X-Forwarded-For: patch@linaro.org patchwork-forward@linaro.org Delivered-To: patch@linaro.org Received: by 10.220.221.72 with SMTP id ib8csp90689vcb; Wed, 23 Apr 2014 02:54:27 -0700 (PDT) X-Received: by 10.229.236.1 with SMTP id ki1mr18921797qcb.8.1398246867118; Wed, 23 Apr 2014 02:54:27 -0700 (PDT) Received: from ip-10-141-164-156.ec2.internal (lists.linaro.org. [54.225.227.206]) by mx.google.com with ESMTPS id s6si185471qas.138.2014.04.23.02.54.26 for (version=TLSv1 cipher=RC4-SHA bits=128/128); Wed, 23 Apr 2014 02:54:27 -0700 (PDT) Received-SPF: none (google.com: lng-odp-bounces@lists.linaro.org does not designate permitted sender hosts) client-ip=54.225.227.206; Received: from localhost ([127.0.0.1] helo=ip-10-141-164-156.ec2.internal) by ip-10-141-164-156.ec2.internal with esmtp (Exim 4.76) (envelope-from ) id 1WctsT-00058Z-O1; Wed, 23 Apr 2014 09:54:05 +0000 Received: from mail-ee0-f45.google.com ([74.125.83.45]) by ip-10-141-164-156.ec2.internal with esmtp (Exim 4.76) (envelope-from ) id 1WctsJ-00057g-27 for lng-odp@lists.linaro.org; Wed, 23 Apr 2014 09:53:55 +0000 Received: by mail-ee0-f45.google.com with SMTP id d17so568912eek.4 for ; Wed, 23 Apr 2014 02:54:09 -0700 (PDT) X-Received: by 10.14.115.195 with SMTP id e43mr16675367eeh.76.1398246849905; Wed, 23 Apr 2014 02:54:09 -0700 (PDT) Received: from uglx0153363.synapse.com ([195.238.92.128]) by mx.google.com with ESMTPSA id o4sm4757906eef.20.2014.04.23.02.54.08 for (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Wed, 23 Apr 2014 02:54:09 -0700 (PDT) From: Taras Kondratiuk To: lng-odp@lists.linaro.org Date: Wed, 23 Apr 2014 12:53:51 +0300 Message-Id: <1398246839-15554-2-git-send-email-taras.kondratiuk@linaro.org> X-Mailer: git-send-email 1.7.9.5 In-Reply-To: <1398246839-15554-1-git-send-email-taras.kondratiuk@linaro.org> References: <1398246839-15554-1-git-send-email-taras.kondratiuk@linaro.org> Subject: [lng-odp] [PATCH v3 1/9] generic: Do not define _GNU_SOURCE if defined already X-BeenThere: lng-odp@lists.linaro.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: , List-Help: , List-Subscribe: , MIME-Version: 1.0 Errors-To: lng-odp-bounces@lists.linaro.org Sender: lng-odp-bounces@lists.linaro.org X-Removed-Original-Auth: Dkim didn't pass. X-Original-Sender: taras.kondratiuk@linaro.org X-Original-Authentication-Results: mx.google.com; spf=neutral (google.com: patch+caf_=patchwork-forward=linaro.org@linaro.org does not designate permitted sender hosts) smtp.mail=patch+caf_=patchwork-forward=linaro.org@linaro.org Mailing-list: list patchwork-forward@linaro.org; contact patchwork-forward+owners@linaro.org X-Google-Group-Id: 836684582541 Signed-off-by: Taras Kondratiuk --- platform/linux-generic/source/odp_linux.c | 3 ++- platform/linux-generic/source/odp_packet_socket.c | 4 +++- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/platform/linux-generic/source/odp_linux.c b/platform/linux-generic/source/odp_linux.c index 6adeb3f..10fdf44 100644 --- a/platform/linux-generic/source/odp_linux.c +++ b/platform/linux-generic/source/odp_linux.c @@ -4,8 +4,9 @@ * SPDX-License-Identifier: BSD-3-Clause */ - +#ifndef _GNU_SOURCE #define _GNU_SOURCE +#endif #include #include diff --git a/platform/linux-generic/source/odp_packet_socket.c b/platform/linux-generic/source/odp_packet_socket.c index 18ce3e5..a4c913a 100644 --- a/platform/linux-generic/source/odp_packet_socket.c +++ b/platform/linux-generic/source/odp_packet_socket.c @@ -5,8 +5,10 @@ * SPDX-License-Identifier: BSD-3-Clause */ - +#ifndef _GNU_SOURCE #define _GNU_SOURCE +#endif + #include #include #include