git.droids-corp.org
/
dpdk.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
examples/netmap_compat: fix build on Suse 11
[dpdk.git]
/
examples
/
netmap_compat
/
lib
/
compat_netmap.c
diff --git
a/examples/netmap_compat/lib/compat_netmap.c
b/examples/netmap_compat/lib/compat_netmap.c
index
d2e079f
..
dd6d4f9
100644
(file)
--- a/
examples/netmap_compat/lib/compat_netmap.c
+++ b/
examples/netmap_compat/lib/compat_netmap.c
@@
-73,6
+73,14
@@
struct fd_port {
uint32_t port;
};
+#ifndef POLLRDNORM
+#define POLLRDNORM 0x0040
+#endif
+
+#ifndef POLLWRNORM
+#define POLLWRNORM 0x0100
+#endif
+
#define FD_PORT_FREE UINT32_MAX
#define FD_PORT_RSRV (FD_PORT_FREE - 1)