From patchwork Thu Apr 24 17:01:32 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Taras Kondratiuk X-Patchwork-Id: 29001 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-pb0-f70.google.com (mail-pb0-f70.google.com [209.85.160.70]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 1C0992036A for ; Thu, 24 Apr 2014 17:02:12 +0000 (UTC) Received: by mail-pb0-f70.google.com with SMTP id jt11sf1091769pbb.9 for ; Thu, 24 Apr 2014 10:02:12 -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:cc: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=XCdFGLuX4z3tDP6isZ+QsqXGrBDKcorqskVHfqSV7EjDPVUQTUAdqw3OQYoM+wIROz nIaIZglZdNgAh3Ur0x3R1bkekLAACJhNlN2nSZdFokXGdElhfcJ9xe2ZA0AiTchHDER3 d07ZXD1a0j++vMOuqIimSz5ieeU0K9gXIRi94hwRUm4QOGd8+Fs3r4ZXh4+8Nz2sOQUB NdOWtL2BXYNL8X2j8g6WgXo5F6tRAlrKfKCsnw8wAJPs61JxPvQMza9fyVFcWTdSTK7d GHfr3VRIz4PH57UnCPbxvf2dFErgOaxt+RmajC064lEj/uK01et+anLTrTOHCfWZ9BBE 21qg== X-Gm-Message-State: ALoCoQlZmfo9nossXO1SxvRB2O9YOFcUUZrGX/qiVY7Jgq0OPcvO8DFL4lWZFQVBmdiVosuW13po X-Received: by 10.66.124.168 with SMTP id mj8mr527455pab.29.1398358932267; Thu, 24 Apr 2014 10:02:12 -0700 (PDT) X-BeenThere: patchwork-forward@linaro.org Received: by 10.140.28.137 with SMTP id 9ls1192779qgz.14.gmail; Thu, 24 Apr 2014 10:02:12 -0700 (PDT) X-Received: by 10.58.230.103 with SMTP id sx7mr1982565vec.28.1398358932125; Thu, 24 Apr 2014 10:02:12 -0700 (PDT) Received: from mail-vc0-f175.google.com (mail-vc0-f175.google.com [209.85.220.175]) by mx.google.com with ESMTPS id ck5si1067762vdd.37.2014.04.24.10.02.12 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Thu, 24 Apr 2014 10:02:12 -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.175; Received: by mail-vc0-f175.google.com with SMTP id lh14so3303269vcb.20 for ; Thu, 24 Apr 2014 10:02:12 -0700 (PDT) X-Received: by 10.52.6.162 with SMTP id c2mr1666443vda.6.1398358932038; Thu, 24 Apr 2014 10:02:12 -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 ib8csp31724vcb; Thu, 24 Apr 2014 10:02:11 -0700 (PDT) X-Received: by 10.140.102.173 with SMTP id w42mr4252972qge.15.1398358931461; Thu, 24 Apr 2014 10:02:11 -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 c8si2491511qab.190.2014.04.24.10.02.10 for (version=TLSv1 cipher=RC4-SHA bits=128/128); Thu, 24 Apr 2014 10:02:11 -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 1WdN1v-0004H0-Tc; Thu, 24 Apr 2014 17:01:47 +0000 Received: from mail-ee0-f47.google.com ([74.125.83.47]) by ip-10-141-164-156.ec2.internal with esmtp (Exim 4.76) (envelope-from ) id 1WdN1f-0004G7-5f for lng-odp@lists.linaro.org; Thu, 24 Apr 2014 17:01:31 +0000 Received: by mail-ee0-f47.google.com with SMTP id b15so2078671eek.20 for ; Thu, 24 Apr 2014 10:01:47 -0700 (PDT) X-Received: by 10.15.111.206 with SMTP id cj54mr3751037eeb.8.1398358907907; Thu, 24 Apr 2014 10:01:47 -0700 (PDT) Received: from uglx0153363.synapse.com ([195.238.92.128]) by mx.google.com with ESMTPSA id w46sm17371207eeo.35.2014.04.24.10.01.46 for (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Thu, 24 Apr 2014 10:01:47 -0700 (PDT) From: Taras Kondratiuk To: lng-odp@lists.linaro.org Date: Thu, 24 Apr 2014 20:01:32 +0300 Message-Id: <1398358899-9851-2-git-send-email-taras.kondratiuk@linaro.org> X-Mailer: git-send-email 1.7.9.5 In-Reply-To: <1398358899-9851-1-git-send-email-taras.kondratiuk@linaro.org> References: <1398358899-9851-1-git-send-email-taras.kondratiuk@linaro.org> Cc: linaro-networking@linaro.org Subject: [lng-odp] [PATCH v4 1/8] 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