File: 0002-fix-netlink-include.patch

package info (click to toggle)
libfsobasics 0.9.0%2Bgit20100509-2
  • links: PTS, VCS
  • area: main
  • in suites: squeeze
  • size: 1,676 kB
  • ctags: 103
  • sloc: sh: 10,183; makefile: 233; ansic: 12
file content (25 lines) | stat: -rw-r--r-- 897 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
From d13f23b5b93c42f8c87cc297bdbc5cb243181ec9 Mon Sep 17 00:00:00 2001
From: Heiko Stuebner <heiko@sntech.de>
Date: Sat, 15 May 2010 18:18:34 +0200
Subject: [PATCH] fix netlink-include

---
 vapi/libnl-2.0.vapi |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/vapi/libnl-2.0.vapi b/vapi/libnl-2.0.vapi
index 4d65849..022aa91 100644
--- a/vapi/libnl-2.0.vapi
+++ b/vapi/libnl-2.0.vapi
@@ -181,7 +181,7 @@ namespace Netlink {
     }
 
     [Compact]
-    [CCode (cprefix = "nl_link_cache_", cname = "struct nl_cache", free_function = "nl_cache_free", cheader_filename = "netlink/netlink.h")]
+    [CCode (cprefix = "nl_link_cache_", cname = "struct nl_cache", free_function = "nl_cache_free", cheader_filename = "netlink/route/link.h")]
     public class LinkCache : Cache {
         [CCode (cname = "rtnl_link_name2i")]
         public int name2i (string name);
-- 
1.7.1