From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thomas Monjalon Subject: Re: [PATCH] examples/netmap_compat: Fix compile issue with POLLRDNORM Date: Sat, 12 Dec 2015 21:56:36 +0100 Message-ID: <1890965.gEH7YAih2O@xps13> References: <1449815793-12138-1-git-send-email-michael.qiu@intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Cc: dev@dpdk.org To: Michael Qiu 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) In-Reply-To: <1449815793-12138-1-git-send-email-michael.qiu@intel.com> List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" 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