summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorTom Gundersen <teg@jklm.no>2014-08-31 18:50:23 +0200
committerTom Gundersen <teg@jklm.no>2014-08-31 18:50:23 +0200
commit04d180c8a8641c209eb19d1210b5d4e36f0ae05b (patch)
treed4d5c1a8e870ab7e51b066f5575320fbc20c7ce3 /src
parent48382487666af141bb4385ceb5fb73c4147f6141 (diff)
missing: add IFF_MULTI_QUEUE
This was added in 3.8, but we should building with 3.7 headers. Reported by Samuli Suominen <ssuominen@gentoo.org>.
Diffstat (limited to 'src')
-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 c80ed2ad99..023c680ec6 100644
--- a/src/shared/missing.h
+++ b/src/shared/missing.h
@@ -558,6 +558,10 @@ static inline int setns(int fd, int nstype) {
#define IPV6_UNICAST_IF 76
#endif
+#ifndef IFF_MULTI_QUEUE
+#define IFF_MULTI_QUEUE 0x100
+#endif
+
#ifndef IFF_LOWER_UP
#define IFF_LOWER_UP 0x10000
#endif