971a9c7405938ca11f99ecd4005c3668050a3e70
[feed/packages.git] / net / linknx / patches / 010-cdefs.patch
1 --- a/include/eibclient.h
2 +++ b/include/eibclient.h
3 @@ -27,11 +27,12 @@
4 #ifndef EIBCLIENT_H
5 #define EIBCLIENT_H
6
7 -#include "sys/cdefs.h"
8 #include "stdint.h"
9 #include <pthsem.h>
10
11 -__BEGIN_DECLS;
12 +#ifdef __cplusplus
13 +extern "C" {
14 +#endif
15
16 #include "eibloadresult.h"
17
18 @@ -705,5 +706,7 @@ BCU_LOAD_RESULT EIB_LoadImage (EIBConnection * con, const uint8_t * image,
19 */
20 int EIB_LoadImage_async (EIBConnection * con, const uint8_t * image, int len);
21
22 -__END_DECLS
23 +#ifdef __cplusplus
24 +}
25 +#endif
26 #endif