File: system_can_netlink.patch

package info (click to toggle)
libsocketcan 0.0.10%2Bgit20140721-6
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 392 kB
  • ctags: 117
  • sloc: ansic: 631; sh: 12; makefile: 6
file content (26 lines) | stat: -rw-r--r-- 689 bytes parent folder | download | duplicates (2)
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
26
Description: Use linux/can/netlink.h provided by linux-libc-dev
Author: Alexander GQ Gerasiov <gq@debian.org>
Forwarded: no
Last-Update: <2014-03-18>

--- libsocketcan-0.0.9+git20140207.orig/include/GNUmakefile.am
+++ libsocketcan-0.0.9+git20140207/include/GNUmakefile.am
@@ -1,6 +1,5 @@
 nobase_include_HEADERS = \
-	libsocketcan.h \
-	can_netlink.h
+	libsocketcan.h
 
 MAINTAINERCLEANFILES = \
 	libsocketcan_config.h.in \
--- libsocketcan-0.0.9+git20140207.orig/include/libsocketcan.h
+++ libsocketcan-0.0.9+git20140207/include/libsocketcan.h
@@ -26,7 +26,7 @@
  * @brief API overview
  */
 
-#include <can_netlink.h>
+#include <linux/can/netlink.h>
 
 #ifdef __cplusplus
 extern "C" {