Skip to content

Commit

Permalink
Fix a typo (?) that would prevent the native target from building the…
Browse files Browse the repository at this point in the history
… examples.

Example of build that fails without the patch (from master):

    cd examples/ipv6/rpl-udp
    make TARGET=contiki

This build will fail because references to uip_ds6* functions are missing.
  • Loading branch information
Tony Cheneau committed Oct 25, 2013
1 parent 810f770 commit 7a493c4
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions platform/native/contiki-conf.h
Expand Up @@ -79,7 +79,7 @@ typedef unsigned short uip_stats_t;
#define NETSTACK_CONF_RDC_CHANNEL_CHECK_RATE 8
#endif /* NETSTACK_CONF_RDC_CHANNEL_CHECK_RATE */

#if UIP_CONF_IPV6
#if WITH_UIP6

#define RIMEADDR_CONF_SIZE 8

Expand All @@ -101,6 +101,8 @@ typedef unsigned short uip_stats_t;

#define NETSTACK_CONF_NETWORK sicslowpan_driver

#define UIP_CONF_IPV6 1

#define UIP_CONF_ROUTER 1
#ifndef UIP_CONF_IPV6_RPL
#define UIP_CONF_IPV6_RPL 1
Expand Down Expand Up @@ -165,7 +167,7 @@ typedef unsigned short uip_stats_t;



#endif /* UIP_CONF_IPV6 */
#endif /* WITH_UIP6 */

#include <ctype.h>
#define ctk_arch_isprint isprint
Expand Down

0 comments on commit 7a493c4

Please sign in to comment.