ipv6: conditionalize tcp-socket on UIP_TCP
The functions in tcpip.c are conditionalized
on UIP_TCP, so the symbols used by tcp-socket.c
cannot be taken for granted.
The build system does not offer conditional
builds based on configuration, so add an #if
around the contents of tcp-socket.c for now.
#include "tcp-socket.h"
+#if UIP_TCP
+
#include <string.h>
static void relisten(struct tcp_socket *s);
@@ -407,3 +409,4 @@ tcp_socket_queuelen(struct tcp_socket *s)
return s->output_data_len;
}
/*---------------------------------------------------------------------------*/
+#endif /* UIP_TCP */
