summaryrefslogtreecommitdiff
path: root/package/mjpg-streamer/0001-musl-pthread.patch
blob: 9e76e760d8ace66b133dd9f27e2dc27efd9f4481 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
Fix musl build

Patch written by Thomas Petazzoni:
http://patchwork.ozlabs.org/patch/572309/

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>

diff -uNr mjpg-streamer-bbf32fddfd02a9e072e89e83a5b33e6ca0a7bd4b.org/plugins/input.h mjpg-streamer-bbf32fddfd02a9e072e89e83a5b33e6ca0a7bd4b/plugins/input.h
--- mjpg-streamer-bbf32fddfd02a9e072e89e83a5b33e6ca0a7bd4b.org/plugins/input.h	2015-11-09 15:56:47.000000000 +0100
+++ mjpg-streamer-bbf32fddfd02a9e072e89e83a5b33e6ca0a7bd4b/plugins/input.h	2016-01-26 20:19:05.884349502 +0100
@@ -20,6 +20,7 @@
 #                                                                              #
 *******************************************************************************/
 
+#include <pthread.h>
 #include <syslog.h>
 #include "../mjpg_streamer.h"
 #define INPUT_PLUGIN_PREFIX " i: "