projects
/
platform
/
upstream
/
iotivity.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Imported Upstream version 0.9.1
[platform/upstream/iotivity.git]
/
resource
/
csdk
/
connectivity
/
lib
/
libcoap-4.1.1
/
encode.h
diff --git
a/resource/csdk/connectivity/lib/libcoap-4.1.1/encode.h
b/resource/csdk/connectivity/lib/libcoap-4.1.1/encode.h
index
e58cad6
..
b9b304e
100644
(file)
--- a/
resource/csdk/connectivity/lib/libcoap-4.1.1/encode.h
+++ b/
resource/csdk/connectivity/lib/libcoap-4.1.1/encode.h
@@
-3,7
+3,7
@@
* Copyright (C) 2010--2012 Olaf Bergmann <bergmann@tzi.org>
*
* This file is part of the CoAP library libcoap. Please see
* Copyright (C) 2010--2012 Olaf Bergmann <bergmann@tzi.org>
*
* This file is part of the CoAP library libcoap. Please see
- * README for terms of use.
+ * README for terms of use.
*/
#ifndef _COAP_ENCODE_H_
*/
#ifndef _COAP_ENCODE_H_
@@
-12,8
+12,10
@@
#if (BSD >= 199103) || defined(WITH_CONTIKI)
# include <string.h>
#else
#if (BSD >= 199103) || defined(WITH_CONTIKI)
# include <string.h>
#else
+#ifndef WITH_ARDUINO
# include <strings.h>
#endif
# include <strings.h>
#endif
+#endif
#define Nn 8 /* duplicate definition of N if built on sky motes */
#define E 4
#define Nn 8 /* duplicate definition of N if built on sky motes */
#define E 4