]>
Commit | Line | Data |
---|---|---|
f52968a5 JB |
1 | --- Heartbeat-3-0-STABLE-3.0.6/configure.ac.orig 2015-12-19 22:17:30.801442381 +0100 |
2 | +++ Heartbeat-3-0-STABLE-3.0.6/configure.ac 2015-12-20 08:24:22.066581009 +0100 | |
3 | @@ -1086,7 +1086,9 @@ | |
4 | TIPC_INCLUDE="-I${TIPC_HEADER_DIR}" | |
5 | else | |
6 | dnl checking tipc.h in standard include directory | |
7 | + AC_CHECK_HEADERS(linux/tipc.h, [], [ | |
8 | AC_CHECK_HEADERS(net/tipc/tipc.h, [], [tipc_headers_found=no]) | |
9 | + ]) | |
10 | fi | |
11 | ||
12 | AC_SUBST(TIPC_INCLUDE) | |
13 | --- Heartbeat-3-0-STABLE-3.0.6/lib/plugins/HBcomm/tipc.c.orig 2015-02-04 15:57:04.000000000 +0100 | |
14 | +++ Heartbeat-3-0-STABLE-3.0.6/lib/plugins/HBcomm/tipc.c 2015-12-20 08:26:15.429909588 +0100 | |
15 | @@ -44,7 +44,11 @@ | |
16 | #include <heartbeat.h> | |
17 | #include <HBcomm.h> | |
18 | ||
19 | +#ifdef HAVE_LINUX_TIPC_H | |
20 | +#include <linux/tipc.h> | |
21 | +#else | |
22 | #include <net/tipc/tipc.h> | |
23 | +#endif | |
24 | ||
25 | ||
26 | #define PIL_PLUGINTYPE HB_COMM_TYPE |