forked from gentoo/gentoo
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
net-misc/knemo: Replaced netlinkbackend patch.
(with the official one from upstream) Package-Manager: portage-2.2.20.1 Signed-off-by: Lars Wendler <[email protected]>
- Loading branch information
Lars Wendler
committed
Aug 19, 2015
1 parent
6d594e4
commit 82cd173
Showing
1 changed file
with
13 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,15 @@ | ||
--- ./src/knemod/backends/netlinkbackend.cpp 2015-08-15 14:34:54.823572917 +0600 | ||
+++ ./src/knemod/backends/netlinkbackend.cpp.new 2015-08-15 14:34:15.680238396 +0600 | ||
@@ -30,6 +30,8 @@ | ||
#include "utils.h" | ||
#include "netlinkbackend.h" | ||
diff --git a/src/knemod/backends/netlinkbackend.cpp b/src/knemod/backends/netlinkbackend.cpp | ||
index f749e43..5a82c13 100644 | ||
--- a/src/knemod/backends/netlinkbackend.cpp | ||
+++ b/src/knemod/backends/netlinkbackend.cpp | ||
@@ -23,6 +23,10 @@ | ||
#include <netlink/route/link.h> | ||
#include <netlink/route/route.h> | ||
|
||
+#include <linux/if.h> | ||
+#if LIBNL_CURRENT >= 221 | ||
+#include <net/if.h> | ||
+#endif | ||
+ | ||
#ifndef IFF_LOWER_UP | ||
#define IFF_LOWER_UP 0x10000 | ||
#endif | ||
#include <KLocale> | ||
#include <kio/global.h> | ||
|