summaryrefslogtreecommitdiff
path: root/built_in.h
diff options
context:
space:
mode:
authorDaniel Borkmann <dborkman@redhat.com>2013-05-30 17:15:33 +0200
committerDaniel Borkmann <dborkman@redhat.com>2013-05-30 17:20:57 +0200
commit6fbc585ee38b92cea338e96a5f661c811cd28990 (patch)
tree0bd4f3471df6c85dc2d870d9187f9d03cceaada2 /built_in.h
parentb5f3cae9359583bdb8c2580d19f656aa0a35db68 (diff)
ring: move poll related fallback define to built_in.h
It rather belongs to built_in.h, and not here. Signed-off-by: Daniel Borkmann <dborkman@redhat.com>
Diffstat (limited to 'built_in.h')
-rw-r--r--built_in.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/built_in.h b/built_in.h
index 94a39dc..fa2f0c8 100644
--- a/built_in.h
+++ b/built_in.h
@@ -353,4 +353,16 @@ static inline u64 cpu_to_le64(u64 val)
# define TP_STATUS_TS_RAW_HARDWARE (1 << 31)
#endif
+#ifndef POLLRDNORM
+# define POLLRDNORM 0x0040
+#endif
+
+#ifndef POLLWRNORM
+# define POLLWRNORM 0x0100
+#endif
+
+#ifndef POLLRDHUP
+# define POLLRDHUP 0x2000
+#endif
+
#endif /* BUILT_IN_H */