From dc9f16131c33bfe80ec08e870a6f1f5bd2ac7800 Mon Sep 17 00:00:00 2001 From: dak664 Date: Tue, 14 Sep 2010 19:16:53 +0000 Subject: [PATCH] Make fake routines conditional on CONTIKI_NO_NET --- platform/avr-ravenusb/fakeuip.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/platform/avr-ravenusb/fakeuip.c b/platform/avr-ravenusb/fakeuip.c index 7c5695b05..9eb889623 100644 --- a/platform/avr-ravenusb/fakeuip.c +++ b/platform/avr-ravenusb/fakeuip.c @@ -7,6 +7,8 @@ #include "uip.h" #include +#if CONTIKI_NO_NET + #define UIP_IP_BUF ((struct uip_ip_hdr *)&uip_buf[UIP_LLH_LEN]) uip_buf_t uip_aligned_buf; @@ -124,3 +126,4 @@ uip_icmp6chksum(void) { return upper_layer_chksum(UIP_PROTO_ICMP6); } +#endif /* CONTIKI_NO_NET */