]> git.droids-corp.org - dpdk.git/blobdiff - examples/netmap_compat/lib/compat_netmap.c
examples/netmap_compat: fix build on Suse 11
[dpdk.git] / examples / netmap_compat / lib / compat_netmap.c
index d2e079f99728e15df699c128bce4d8b0eb074151..dd6d4f91895dca6b7af2b1d824b688d5fd40df21 100644 (file)
@@ -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)