chiark / gitweb /
missing: add IFF_MULTI_QUEUE
authorTom Gundersen <teg@jklm.no>
Sun, 31 Aug 2014 16:50:23 +0000 (18:50 +0200)
committerTom Gundersen <teg@jklm.no>
Sun, 31 Aug 2014 16:50:23 +0000 (18:50 +0200)
This was added in 3.8, but we should building with 3.7 headers.

Reported by Samuli Suominen <ssuominen@gentoo.org>.

src/shared/missing.h

index c80ed2a..023c680 100644 (file)
@@ -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