Include pthreads.h as the core doesn't use plain pthreads anymore
authorWim Taymans <wim.taymans@gmail.com>
Sat, 2 Nov 2002 01:07:46 +0000 (01:07 +0000)
committerWim Taymans <wim.taymans@gmail.com>
Sat, 2 Nov 2002 01:07:46 +0000 (01:07 +0000)
Original commit message from CVS:
Include pthreads.h as the core doesn't use plain pthreads anymore

sys/v4l/v4lmjpegsink_calls.c
sys/v4l/v4lsrc_calls.c

index 972d248..4700001 100644 (file)
@@ -25,6 +25,7 @@
 #include <sys/mman.h>
 #include <string.h>
 #include <errno.h>
+#include <pthread.h>
 #include "v4lmjpegsink_calls.h"
 
 /* On some systems MAP_FAILED seems to be missing */
index be805b6..3e02af3 100644 (file)
@@ -27,6 +27,7 @@
 #include <errno.h>
 #include "v4lsrc_calls.h"
 #include <sys/time.h>
+#include <pthread.h>
 
 /* number of buffers to be queued *at least* before syncing */
 #define MIN_BUFFERS_QUEUED 2