projects
/
platform
/
upstream
/
iotivity.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Implementation of connectivity abstraction feature Release v0.3
[platform/upstream/iotivity.git]
/
resource
/
csdk
/
connectivity
/
lib
/
libcoap-4.1.1
/
block.c
diff --git
a/resource/csdk/connectivity/lib/libcoap-4.1.1/block.c
b/resource/csdk/connectivity/lib/libcoap-4.1.1/block.c
index
709f57c
..
c0373f7
100644
(file)
--- a/
resource/csdk/connectivity/lib/libcoap-4.1.1/block.c
+++ b/
resource/csdk/connectivity/lib/libcoap-4.1.1/block.c
@@
-12,6
+12,11
@@
# include <assert.h>
#endif
+#ifdef WITH_ARDUINO
+/* On Arduino the abort function, needed for assert, is defined in std lib */
+#include <stdlib.h>
+#endif
+
#include "debug.h"
#include "block.h"