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 972d248ac56dbd0dd852de923349606b65febb30..4700001bb2ac9d9ceee068c6f703c5ed67b17a67 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 be805b6d538def5db5190d001c16a53b8eafee7a..3e02af36c91d1d07362d6cd0e1dfbdbc627494e9 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