From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wm0-f44.google.com (mail-wm0-f44.google.com [74.125.82.44]) by dpdk.org (Postfix) with ESMTP id CDFEE8E7F for ; Sat, 12 Dec 2015 21:57:53 +0100 (CET) Received: by wmnn186 with SMTP id n186so74619279wmn.0 for ; Sat, 12 Dec 2015 12:57:53 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=6wind-com.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:organization:user-agent :in-reply-to:references:mime-version:content-transfer-encoding :content-type; bh=eDSdn68gTSxOJDcER3oK0PdaXd3aSMF0qbqAV9LM0Dw=; b=nTTGpNPDVzKtoIORVlmppAjCySdruApqDh7jvdQhaRIC7Ucb6+TxfHmSl4gA22gW0L HqHuXpojH9T8YHTuXD2ci8A2rIbh5DEGlz+F9tEj3d5QtFQaf5NKhBbwvasUol2ZBmVF t9p77TX6GD8UTYLDD+soRRJO1k0EUNnupNzXrj14hbTZW7Do6QiI6SgXzfYE1RGIlky+ SlB/u8Adf1BBH3L5qPKVj2Vk4/GEKQFtVw77v5BPb2mGGP89y1qThEhi3usW1Z5f/41k GeIXAfrf+qRQ3N94N/W9eUtHXOU0z2V+SUcL6JXTfGlunquPe1oHVko0lTmMfjRL6x+n ZLhg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:organization :user-agent:in-reply-to:references:mime-version :content-transfer-encoding:content-type; bh=eDSdn68gTSxOJDcER3oK0PdaXd3aSMF0qbqAV9LM0Dw=; b=KwrXdfwCSNKBUAhZR7s0hOrVBSDzO2f6n9lyVTTYuJdWA1fbMB48nC0HdgscYb8XcR Ufq6c1AX+x9zFdd3U4THEhos43cRXNwKpq4I8XGMY9JNVDZWk26qXEpUoump7zP9xQAy fNURanh9eUE1C5e4K9d9b1kuaa3ggNs9Y/woNy6EHEP77wbhFs7qgvZ3arpDFsk/Il7w GLHL4q3JRqpY2tzNbOQrhke0CC24mD0qpQv09FP2Cue65DWF42qLJQbU9vt1kAIeTfde YMGn96RHDFVE8yIRwIdxmlxJdsq4v70LAbI6JM2zhbJMvPiyxJ8uwELOyFUOSmgMOAUc b9kQ== X-Gm-Message-State: ALoCoQnsv7lq7vrrNjawHDrHuGd9wWf6TKVkrAa24J/laweGLMhpXWJwKMOcc8R8DtPgw75HbJXL+rhucxBp4iYO0jdClMBAgQ== X-Received: by 10.28.210.137 with SMTP id j131mr15744096wmg.93.1449953873658; Sat, 12 Dec 2015 12:57:53 -0800 (PST) Received: from xps13.localnet (136-92-190-109.dsl.ovh.fr. [109.190.92.136]) by smtp.gmail.com with ESMTPSA id ke10sm22684287wjb.3.2015.12.12.12.57.52 (version=TLSv1/SSLv3 cipher=OTHER); Sat, 12 Dec 2015 12:57:53 -0800 (PST) From: Thomas Monjalon To: Michael Qiu Date: Sat, 12 Dec 2015 21:56:36 +0100 Message-ID: <1890965.gEH7YAih2O@xps13> Organization: 6WIND User-Agent: KMail/4.14.10 (Linux/4.1.6-1-ARCH; KDE/4.14.11; x86_64; ; ) In-Reply-To: <1449815793-12138-1-git-send-email-michael.qiu@intel.com> References: <1449815793-12138-1-git-send-email-michael.qiu@intel.com> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Cc: dev@dpdk.org Subject: Re: [dpdk-dev] [PATCH] examples/netmap_compat: Fix compile issue with POLLRDNORM X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 12 Dec 2015 20:57:54 -0000 2015-12-11 14:36, Michael Qiu: > examples/netmap_compat/bridge/../lib/compat_netmap.c:880:41: > error: =E2=80=98POLLRDNORM=E2=80=99 undeclared (first use in this fu= nction) >=20 > The root casue is POLLRDNORM is more-or-less nonstandard, and it > depends on macro "__USE_XOPEN". >=20 > Fixes: 06371afe394d (examples/netmap_compat: import netmap compatibil= ity example) >=20 > In suse11 sp3, POLLRDNORM will not be defined because "__USE_XOPEN" > issue. >=20 > This patch add check if it is not defined, define it. >=20 > Signed-off-by: Michael Qiu Applied, thanks