Added #if UIP_CONF_IPV6 around the IPv6 code in the uIP source tree to allow the C files to be compiled even if IPv6 is not configured.
This commit is contained in:
parent
db1e8cdbac
commit
927cc8d895
14 changed files with 40 additions and 7 deletions
|
@ -68,6 +68,10 @@
|
|||
#include "net/neighbor-info.h"
|
||||
#include "net/netstack.h"
|
||||
|
||||
#if UIP_CONF_IPV6
|
||||
|
||||
#include <stdio.h>
|
||||
|
||||
#define DEBUG 0
|
||||
#if DEBUG
|
||||
/* PRINTFI and PRINTFO are defined for input and output to debug one without changing the timing of the other */
|
||||
|
@ -1843,3 +1847,4 @@ const struct network_driver sicslowpan_driver = {
|
|||
};
|
||||
/*--------------------------------------------------------------------*/
|
||||
/** @} */
|
||||
#endif /* UIP_CONF_IPV6 */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue