[dpdk-dev] [PATCH] examples/netmap_compat: Fix compile issue with POLLRDNORM

Thomas Monjalon thomas.monjalon at 6wind.com
Sat Dec 12 21:56:36 CET 2015


2015-12-11 14:36, Michael Qiu:
>  examples/netmap_compat/bridge/../lib/compat_netmap.c:880:41:
>  error: ‘POLLRDNORM’ undeclared (first use in this function)
> 
> The root casue is POLLRDNORM is more-or-less nonstandard, and it
> depends on macro "__USE_XOPEN".
> 
> Fixes: 06371afe394d (examples/netmap_compat: import netmap compatibility example)
> 
> In suse11 sp3, POLLRDNORM will not be defined because "__USE_XOPEN"
> issue.
> 
> This patch add check if it is not defined, define it.
> 
> Signed-off-by: Michael Qiu <michael.qiu at intel.com>

Applied, thanks


More information about the dev mailing list