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 c80ed2ad998fb1b6bc96d969ada20f3d5dd171d4..023c680ec66dfb97ccb016b2122a5de3507b51c6 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