summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSean McBride <sean@rogue-research.com>2011-12-09 13:33:28 -0500
committerPeter Stuge <peter@stuge.se>2012-02-08 15:02:07 +0100
commit721cc1c19fc8e88c4482ab3d1e8a34fa100c403c (patch)
tree7d5666ea9bacb02c3debaae00c5969b0df6852a6
parentf6ef0fca4b36657c1a0885c18cc4c4afcb4f7339 (diff)
downloadlibusb-721cc1c19fc8e88c4482ab3d1e8a34fa100c403c.tar.gz
threads_posix.c: Fix prototype warning by including threads_posix.h
-rw-r--r--libusb/os/threads_posix.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libusb/os/threads_posix.c b/libusb/os/threads_posix.c
index 435b873..60c57cf 100644
--- a/libusb/os/threads_posix.c
+++ b/libusb/os/threads_posix.c
@@ -28,7 +28,7 @@
#define _XOPEN_SOURCE 500
#endif /* _XOPEN_SOURCE */
-#include <pthread.h>
+#include "threads_posix.h"
int usbi_mutex_init_recursive(pthread_mutex_t *mutex, pthread_mutexattr_t *attr)
{