packages/multimedia/mjpg-streamer/patches/005-musl_compatibility.patch
Ted Hess db2eba4dc4 mjpg-streamer: Fix musl compatibility
Signed-off-by: Ted Hess <thess@kitschensync.net>
2015-06-18 08:35:28 -04:00

13 lines
309 B
Diff

--- a/mjpg_streamer.h
+++ b/mjpg_streamer.h
@@ -29,6 +29,10 @@
#define MAX_OUTPUT_PLUGINS 10
#define MAX_PLUGIN_ARGUMENTS 32
+#define __NEED_pthread_t
+#define __NEED_pthread_mutex_t
+#define __NEED_pthread_cond_t
+
#include <linux/types.h> /* for videodev2.h */
#include <linux/videodev2.h>