]> git.ipfire.org Git - thirdparty/valgrind.git/commitdiff
Fixed compiler warning.
authorBart Van Assche <bvanassche@acm.org>
Wed, 27 Feb 2008 17:41:22 +0000 (17:41 +0000)
committerBart Van Assche <bvanassche@acm.org>
Wed, 27 Feb 2008 17:41:22 +0000 (17:41 +0000)
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@7491

exp-drd/tests/recursive_mutex.c

index 069c862d85f074887d831c8c27f5dbbd6928ef6a..eab2eec51d3afc96034bd965fe96c0d5950e1554 100644 (file)
@@ -5,8 +5,10 @@
 #define _GNU_SOURCE
 
 #include <stdio.h>
+#include <unistd.h>
 #include <pthread.h>
 
+
 static void lock_twice(pthread_mutex_t* const p)
 {
   pthread_mutex_lock(p);