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: 06371afe394d (examples/netmap_compat: import netmap compatibility example)

Signed-off-by: Michael Qiu <michael.qiu@intel.com>
2015-12-12 22:34:43 +01:00
..
2015-12-07 03:21:13 +01:00
2015-06-12 11:10:10 +02:00
2015-12-07 04:57:16 +01:00
2015-08-10 16:25:30 +02:00
2015-06-12 11:10:10 +02:00
2015-05-11 15:51:14 +02:00
2015-09-03 19:22:48 +02:00
2015-07-13 19:27:31 +02:00
2015-06-24 12:01:14 +02:00
2015-06-12 11:10:10 +02:00
2015-05-11 15:51:14 +02:00
2015-06-12 11:10:10 +02:00
2015-05-11 15:51:14 +02:00
2015-03-10 11:47:46 +01:00
2015-12-07 03:21:13 +01:00