Always including <errno.h> now.

This commit is contained in:
Armin Novak 2013-10-23 12:13:53 +02:00
parent 7704788474
commit c1051fe4c6

View File

@ -26,6 +26,7 @@
#endif
#include <assert.h>
#include <errno.h>
#include <winpr/crt.h>
#include <winpr/synch.h>
@ -49,10 +50,9 @@
/* Drop in replacement for the linux pthread_timedjoin_np and
* pthread_mutex_timedlock functions.
* TODO: Reduce cost penalty. */
*/
#if !defined(HAVE_PTHREAD_GNU_EXT)
#include <pthread.h>
#include <errno.h>
static int pthread_timedjoin_np(pthread_t td, void **res,
struct timespec *timeout)
{