summaryrefslogtreecommitdiffstats
path: root/patches/libcoap-4.1.1/0003-libcoap-change-include-config.h-to-libcoap_config.h.patch
blob: d4c7b36fc1d9b3464b119a3e86917c86d5783b5e (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
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
From: Alexander Aring <alex.aring@gmail.com>
Date: Sat, 29 Mar 2014 21:45:50 +0100
Subject: [PATCH] libcoap: change include config.h to libcoap_config.h

Signed-off-by: Alexander Aring <alex.aring@gmail.com>
---
 address.h   | 2 +-
 async.h     | 2 +-
 coap.h      | 2 +-
 coap_time.h | 2 +-
 debug.h     | 2 +-
 net.h       | 2 +-
 pdu.h       | 2 +-
 prng.h      | 2 +-
 resource.h  | 2 +-
 subscribe.h | 2 +-
 10 files changed, 10 insertions(+), 10 deletions(-)

diff --git a/address.h b/address.h
index 403240e..614f68f 100644
--- a/address.h
+++ b/address.h
@@ -14,7 +14,7 @@
 #ifndef _COAP_ADDRESS_H_
 #define _COAP_ADDRESS_H_
 
-#include "config.h"
+#include "libcoap_config.h"
 
 #ifdef HAVE_ASSERT_H
 #include <assert.h>
diff --git a/async.h b/async.h
index a5168f8..9c43d89 100644
--- a/async.h
+++ b/async.h
@@ -15,7 +15,7 @@
 #ifndef _COAP_ASYNC_H_
 #define _COAP_ASYNC_H_
 
-#include "config.h"
+#include "libcoap_config.h"
 #include "net.h"
 
 #ifndef WITHOUT_ASYNC
diff --git a/coap.h b/coap.h
index 3e2828c..edf2987 100644
--- a/coap.h
+++ b/coap.h
@@ -13,7 +13,7 @@
 extern "C" {
 #endif
 
-#include "config.h"
+#include "libcoap_config.h"
 #include "debug.h"
 #include "mem.h"
 #include "coap_list.h"
diff --git a/coap_time.h b/coap_time.h
index f039b87..1cec496 100644
--- a/coap_time.h
+++ b/coap_time.h
@@ -22,7 +22,7 @@ extern "C" {
 #endif
 
 
-#include "config.h"
+#include "libcoap_config.h"
 
 /**
  * @defgroup clock Clock Handling
diff --git a/debug.h b/debug.h
index dde660d..330b2d9 100644
--- a/debug.h
+++ b/debug.h
@@ -9,7 +9,7 @@
 #ifndef _COAP_DEBUG_H_
 #define _COAP_DEBUG_H_
 
-#include "config.h"
+#include "libcoap_config.h"
 
 #ifndef COAP_DEBUG_FD
 #define COAP_DEBUG_FD stdout
diff --git a/net.h b/net.h
index f9afd48..33ee46b 100644
--- a/net.h
+++ b/net.h
@@ -13,7 +13,7 @@
 extern "C" {
 #endif
 
-#include "config.h"
+#include "libcoap_config.h"
 
 #ifdef HAVE_ASSERT_H
 #include <assert.h>
diff --git a/pdu.h b/pdu.h
index a891086..48b0dc5 100644
--- a/pdu.h
+++ b/pdu.h
@@ -9,7 +9,7 @@
 #ifndef _PDU_H_
 #define _PDU_H_
 
-#include "config.h"
+#include "libcoap_config.h"
 #include "coap_list.h"
 #include "uri.h"
 
diff --git a/prng.h b/prng.h
index ce4cb12..6377ada 100644
--- a/prng.h
+++ b/prng.h
@@ -14,7 +14,7 @@
 #ifndef _COAP_PRNG_H_
 #define _COAP_PRNG_H_
 
-#include "config.h"
+#include "libcoap_config.h"
 
 /** 
  * @defgroup prng Pseudo Random Numbers
diff --git a/resource.h b/resource.h
index 5504d43..6f21fae 100644
--- a/resource.h
+++ b/resource.h
@@ -14,7 +14,7 @@
 #ifndef _COAP_RESOURCE_H_
 #define _COAP_RESOURCE_H_
 
-#include "config.h"
+#include "libcoap_config.h"
 #include "t_list.h"
 
 #if defined(HAVE_ASSERT_H) && !defined(assert)
diff --git a/subscribe.h b/subscribe.h
index 7eda74f..cb9592e 100644
--- a/subscribe.h
+++ b/subscribe.h
@@ -11,7 +11,7 @@
 #ifndef _COAP_SUBSCRIBE_H_
 #define _COAP_SUBSCRIBE_H_
 
-#include "config.h"
+#include "libcoap_config.h"
 #include "address.h"
 
 /**