From bb15767f4dfeaaed975002f2d6e901b41f2ca49f Mon Sep 17 00:00:00 2001 From: Constantine Grantcharov Date: Thu, 24 Jul 2014 03:37:50 -0400 Subject: [PATCH] #if instead of #ifdef used in definition of struct coap_context_t - replaced #if with #ifdef; compilation error gone. --- net.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/net.h b/net.h index fdbcfeb0..feef2981 100644 --- a/net.h +++ b/net.h @@ -110,7 +110,7 @@ typedef struct coap_context_t { coap_tick_t sendqueue_basetime; coap_queue_t *sendqueue; coap_endpoint_t *endpoint; /**< the endpoint used for listening */ -#if WITH_POSIX +#ifdef WITH_POSIX int sockfd; /**< send/receive socket */ #endif /* WITH_POSIX */ #ifdef WITH_CONTIKI