numam-dpdk/examples/netmap_compat
Michael Qiu 248f9319f7 examples/netmap_compat: fix build on Suse 11
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".

In suse11 sp3, POLLRDNORM will not be defined because "__USE_XOPEN"
issue.

This patch add check if it is not defined, define it.

Fixes: 06371afe39 (examples/netmap_compat: import netmap compatibility example)

Signed-off-by: Michael Qiu <michael.qiu@intel.com>
2015-12-12 22:34:43 +01:00
..
bridge apps: fix default mbuf size 2015-05-11 15:51:14 +02:00
lib examples/netmap_compat: fix build on Suse 11 2015-12-12 22:34:43 +01:00
netmap remove trailing whitespaces 2014-06-11 00:29:34 +02:00
Makefile examples/netmap_compat: add default build target 2014-10-09 20:02:35 +02:00