summaryrefslogtreecommitdiff
path: root/src/shared
diff options
context:
space:
mode:
authorMichael Olbrich <m.olbrich@pengutronix.de>2014-08-21 12:38:08 +0200
committerLennart Poettering <lennart@poettering.net>2014-08-26 20:27:17 +0200
commit7965435e588c8d2fb824c5fd4b8c2739bc30acdf (patch)
tree283de9b261a598121c7ff4b0b6cd76eabc66e4d8 /src/shared
parentdaa05349dfefb12638c96e034c11be613bdc39b7 (diff)
missing: add BPF_XOR
BPF_XOR was introduced in kernel 3.7
Diffstat (limited to 'src/shared')
-rw-r--r--src/shared/missing.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/shared/missing.h b/src/shared/missing.h
index a9dd274274..c80ed2ad99 100644
--- a/src/shared/missing.h
+++ b/src/shared/missing.h
@@ -593,3 +593,7 @@ static inline int setns(int fd, int nstype) {
#ifndef NET_NAME_RENAMED
# define NET_NAME_RENAMED 4
#endif
+
+#ifndef BPF_XOR
+# define BPF_XOR 0xa0
+#endif