summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--built_in.h12
-rw-r--r--ring.h4
2 files changed, 4 insertions, 12 deletions
diff --git a/built_in.h b/built_in.h
index 54444fa..aab4ef6 100644
--- a/built_in.h
+++ b/built_in.h
@@ -374,18 +374,6 @@ static inline u64 cpu_to_le64(u64 val)
# define PACKET_QDISC_BYPASS 20
#endif
-#ifndef POLLRDNORM
-# define POLLRDNORM 0x0040
-#endif
-
-#ifndef POLLWRNORM
-# define POLLWRNORM 0x0100
-#endif
-
-#ifndef POLLRDHUP
-# define POLLRDHUP 0x2000
-#endif
-
#ifndef ARPHRD_IEEE802154_MONITOR
# define ARPHRD_IEEE802154_MONITOR 805
#endif
diff --git a/ring.h b/ring.h
index afc8b08..823e49a 100644
--- a/ring.h
+++ b/ring.h
@@ -26,6 +26,10 @@
#include "dev.h"
#include "config.h"
+#ifndef POLLRDNORM
+# define POLLRDNORM 0x0040
+#endif
+
union tpacket_uhdr {
struct tpacket_hdr *h1;
struct tpacket2_hdr *h2;