summaryrefslogtreecommitdiff
path: root/sem_trywait.c
diff options
context:
space:
mode:
Diffstat (limited to 'sem_trywait.c')
-rw-r--r--sem_trywait.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/sem_trywait.c b/sem_trywait.c
index fbc457c..3cca62e 100644
--- a/sem_trywait.c
+++ b/sem_trywait.c
@@ -15,7 +15,7 @@
*
* Pthreads-win32 - POSIX Threads Library for Win32
* Copyright(C) 1998 John E. Bossom
- * Copyright(C) 1999,2003 Pthreads-win32 contributors
+ * Copyright(C) 1999,2004 Pthreads-win32 contributors
*
* Contact Email: rpj@callisto.canberra.edu.au
*
@@ -45,6 +45,7 @@
#include "semaphore.h"
#include "implement.h"
+#include <stdio.h>
int
sem_trywait (sem_t * sem)