aboutsummaryrefslogtreecommitdiff
path: root/net/knxd/patches/020-cdefs.patch
blob: a1bc124548f95830bda03f895509bd1cf2656a88 (plain)
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
--- a/src/include/eibclient.h
+++ b/src/include/eibclient.h
@@ -27,10 +27,11 @@
 #ifndef EIBCLIENT_H
 #define EIBCLIENT_H
 
-#include <sys/cdefs.h>
 #include <stdint.h>
 
-__BEGIN_DECLS;
+#ifdef __cplusplus
+extern "C" {
+#endif
 
 #include "eibloadresult.h"
 
@@ -935,5 +936,7 @@ int EIB_Cache_LastUpdates2_async (EIBCon
                                   uint32_t * end);
 
 
-__END_DECLS
+#ifdef __cplusplus
+}
+#endif
 #endif