From 57fa31441222b74cf5d40ad939f51e4ddc7fd4b0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Manuel=20P=C3=A9gouri=C3=A9-Gonnard?= Date: Thu, 18 Sep 2014 11:43:18 +0200 Subject: [PATCH] Fix depend documentation --- include/polarssl/net.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/include/polarssl/net.h b/include/polarssl/net.h index d0c736603..5f389f825 100644 --- a/include/polarssl/net.h +++ b/include/polarssl/net.h @@ -129,6 +129,7 @@ int net_set_block( int fd ); */ int net_set_nonblock( int fd ); +#if defined(POLARSSL_HAVE_TIME) /** * \brief Portable usleep helper * @@ -138,6 +139,7 @@ int net_set_nonblock( int fd ); * select()'s timeout granularity (typically, 10ms). */ void net_usleep( unsigned long usec ); +#endif /** * \brief Read at most 'len' characters. If no error occurs,